asp.net mvc 3 - Why is my Orchard installation looking for d:\TeamCity\Projects\Orchard-1.x\....? -
i recieving error message appears permission related. can't workout file needs permissions changing on. curious why error looking @ paths like
d:\teamcity\projects\orchard-1.x\src\orchard\data\repository.cs
is trying call upon external library elsewhere?
any great
server error in '/' application.
access denied. (exception hresult: 0x80070005 (e_accessdenied))
description: unhandled exception occurred during execution of current web request. please review stack trace more information error , originated in code.
exception details: system.unauthorizedaccessexception: access denied. (exception hresult: 0x80070005 (e_accessdenied))
asp.net not authorized access requested resource. consider granting access rights resource asp.net request identity. asp.net has base process identity (typically {machine}\aspnet on iis 5 or network service on iis 6 , iis 7, , configured application pool identity on iis 7.5) used if application not impersonating. if application impersonating via , identity anonymous user (typically iusr_machinename) or authenticated request user.
to grant asp.net access file, right-click file in explorer, choose "properties" , select security tab. click "add" add appropriate user or group. highlight asp.net account, , check boxes desired access.
source error:
an unhandled exception generated during execution of current web request. information regarding origin , location of exception can identified using exception stack trace below.
stack trace:
[unauthorizedaccessexception: access denied. (exception hresult: 0x80070005 (e_accessdenied))]
system.runtime.interopservices.marshal.throwexceptionforhrinternal(int32 errorcode, intptr errorinfo) +0
system.runtime.interopservices.marshal.throwexceptionforhr(int32 errorcode) +49
system.data.sqlserverce.unmanagedlibraryhelper..ctor(string filename) +76
system.data.sqlserverce.nativemethodshelper..ctor(string modulepath) +27
system.data.sqlserverce.nativemethods.loadvalidlibrary(string modulepath) +281
system.data.sqlserverce.nativemethods.loadnativebinariesfromprivatefolder(string privateinstall) +76
system.data.sqlserverce.nativemethods.loadnativebinaries() +225 system.data.sqlserverce.sqlcecommand..ctor() +65[targetinvocationexception: exception has been thrown target of invocation.]
system.runtimetypehandle.createinstance(runtimetype type, boolean publiconly, boolean nocheck, boolean& canbecached, runtimemethodhandleinternal& ctor, boolean& bneedsecuritycheck) +0
system.runtimetype.createinstanceslow(boolean publiconly, boolean skipcheckthis, boolean fillcache) +98
system.runtimetype.createinstancedefaultctor(boolean publiconly, boolean skipvisibilitychecks, boolean skipcheckthis, boolean fillcache) +241 system.activator.createinstance(type type, boolean nonpublic) +69
nhibernate.bytecode.activatorobjectsfactory.createinstance(type type) +8
nhibernate.driver.reflectionbaseddriver.createcommand() +28 nhibernate.driver.sqlservercedriver.configure(idictionary2 settings) +99
2 settings) in d:\teamcity\projects\orchard-1.x\src\orchard\data\providers\sqlcedataservicesprovider.cs:77 nhibernate.connection.connectionprovider.configuredriver(idictionary`2 settings) +158
orchard.data.providers.orchardsqlservercedriver.configure(idictionary[hibernateexception: not create driver orchard.data.providers.sqlcedataservicesprovider+orchardsqlservercedriver, orchard.framework, version=1.0.20.0, culture=neutral, publickeytoken=null.] nhibernate.connection.connectionprovider.configuredriver(idictionary
2 settings) +241
2 settings) +86
nhibernate.connection.connectionprovider.configure(idictionary
nhibernate.connection.connectionproviderfactory.newconnectionprovider(idictionary2 settings) +351
2 properties) +953
nhibernate.cfg.settingsfactory.buildsettings(idictionary
nhibernate.cfg.configuration.buildsettings() +17 nhibernate.cfg.configuration.buildsessionfactory() +44 orchard.data.sessionfactoryholder.buildsessionfactory() in d:\teamcity\projects\orchard-1.x\src\orchard\data\sessionfactoryholder.cs:74 orchard.data.sessionfactoryholder.getsessionfactory() in d:\teamcity\projects\orchard-1.x\src\orchard\data\sessionfactoryholder.cs:52 orchard.data.sessionlocator.for(type entitytype) in d:\teamcity\projects\orchard-1.x\src\orchard\data\sessionlocator.cs:29 orchard.data.repository1.get_session() in d:\teamcity\projects\orchard-1.x\src\orchard\data\repository.cs:26 orchard.data.repository
1.get_table() in d:\teamcity\projects\orchard-1.x\src\orchard\data\repository.cs:30 orchard.data.repository1.fetch(expression
1 predicate) in d:\teamcity\projects\orchard-1.x\src\orchard\data\repository.cs:126 orchard.data.repository1.get(expression
1 predicate) in d:\teamcity\projects\orchard-1.x\src\orchard\data\repository.cs:91 orchard.data.repository1.orchard.data.irepository<t>.get(expression
1 predicate) in d:\teamcity\projects\orchard-1.x\src\orchard\data\repository.cs:60 orchard.core.settings.descriptor.shelldescriptormanager.getdescriptorrecord() in d:\teamcity\projects\orchard-1.x\src\orchard.web\core\settings\descriptor\shelldescriptormanager.cs:52 orchard.core.settings.descriptor.shelldescriptormanager.getshelldescriptor() in d:\teamcity\projects\orchard-1.x\src\orchard.web\core\settings\descriptor\shelldescriptormanager.cs:25 orchard.environment.shellbuilders.shellcontextfactory.createshellcontext(shellsettings settings) in d:\teamcity\projects\orchard-1.x\src\orchard\environment\shellbuilders\shellcontextfactory.cs:66 orchard.environment.defaultorchardhost.createshellcontext(shellsettings settings) in d:\teamcity\projects\orchard-1.x\src\orchard\environment\defaultorchardhost.cs:128 orchard.environment.defaultorchardhost.b__1(shellsettings settings) in d:\teamcity\projects\orchard-1.x\src\orchard\environment\defaultorchardhost.cs:100 system.linq.whereselectarrayiterator2.movenext() +85 system.linq.buffer
1..ctor(ienumerable1 source) +217
1 source) +78
system.linq.enumerable.toarray(ienumerable
orchard.environment.defaultorchardhost.buildcurrent() in d:\teamcity\projects\orchard-1.x\src\orchard\environment\defaultorchardhost.cs:87 orchard.environment.defaultorchardhost.orchard.environment.iorchardhost.initialize() in d:\teamcity\projects\orchard-1.x\src\orchard\environment\defaultorchardhost.cs:56 orchard.web.mvcapplication.application_start() in d:\teamcity\projects\orchard-1.x\src\orchard.web\global.asax.cs:22[httpexception (0x80004005): not create driver orchard.data.providers.sqlcedataservicesprovider+orchardsqlservercedriver, orchard.framework, version=1.0.20.0, culture=neutral, publickeytoken=null.] system.web.httpapplicationfactory.ensureappstartcalledforintegratedmode(httpcontext context, httpapplication app) +9028953 system.web.httpapplication.registereventsubscriptionswithiis(intptr appcontext, httpcontext context, methodinfo[] handlers) +131
system.web.httpapplication.initspecial(httpapplicationstate state, methodinfo[] handlers, intptr appcontext, httpcontext context) +194 system.web.httpapplicationfactory.getspecialapplicationinstance(intptr appcontext, httpcontext context) +339 system.web.hosting.pipelineruntime.initializeapplication(intptr appcontext) +253[httpexception (0x80004005): not create driver orchard.data.providers.sqlcedataservicesprovider+orchardsqlservercedriver, orchard.framework, version=1.0.20.0, culture=neutral, publickeytoken=null.] system.web.httpruntime.firstrequestinit(httpcontext context) +8950644
system.web.httpruntime.ensurefirstrequestinit(httpcontext context) +97
system.web.httpruntime.processrequestnotificationprivate(iis7workerrequest wr, httpcontext context) +256version information: microsoft .net framework version:4.0.30319; asp.net version:4.0.30319.1
the paths d:\teamcity\projects\orchard-1.x
bit of misdirection, appear within stack trace , more refer project built, not orchard looking resources.
teamcity continuous integration system used quite in .net world.
i can't give concrete solution problem, appear correct in assumption permissions issue. recommend using process monitor track down origin of error.
Comments
Post a Comment