-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find file 'C:\Resgrid\Api\App_Data\Resgrid.Web.Services.XML'. #6
Comments
Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
Did you download the binaries from the release package zip or directly from source? |
Hi |
Ok, you pulled the ResgridCore_v0.2.21.zip and not the source right? Also what version of Windows are you using? |
Windows 10 |
How are your IIS Application Pools configured for both websites in IIS? Can you take screen shots of the basic and advanced screens. |
any respond ?? |
Looks good at a glance, did you install the DotNetCore hosting module as well? https://resgrid-core.readthedocs.io/en/latest/installation/index.html#iis-installation |
@amardimiaty Good to hear, the Newtonsoft.Json error went away as well? I'm looking into the Service.xml error and trying to get it spun up in the test environment to validate. |
Yes Newtonsoft.Json isse is fixed for Resgrid website and it's working fine. Now only error is api error |
@amardimiaty looks like it's an issue with the build processes, the xml file is being generated but not published\bundled. I'm working on putting out a release now with that fix. You can download the source and use Visual Studio 2019 to compile it to generate the file locally if you want in the mean time. |
Ok @ucswift , Thank you for your support |
Hi @ucswift , any update about new release |
Hey @amardimiaty I'm going to try and get it out this weekend, had some inflight changes I wanted to include, sorry for the delay. |
I release v.2.50 https://github.com/Resgrid/Core/releases/tag/v0.2.50 it should include a fix for the missing xml file. |
Hi @ucswift any update |
@amardimiaty I posted a couple days ago, release 0.2.50 should have the fix https://github.com/Resgrid/Core/releases/tag/v0.2.50 |
Ok @ucswift really thankful |
Confirmed the issue, working on a patch release now. |
@amardimiaty can you test out https://github.com/Resgrid/Core/releases/tag/v0.2.51 and see if it fixed your issue. |
On the website but I think it is permission issue on my PC Really Thankful @ucswift |
The website runs a slightly diff framework then the api, make sure you got https://go.microsoft.com/fwlink/?linkid=844461 installed, your hostname mapping for resgrid.local is good, the binding for SSL (port 443) is good as the website will only accept HTTPS/SSL traffic. Also make sure the IIS worker process account has rights to read the files from that directly on disk, sometimes, I usually have a "Run As" account setup for that. |
Perfect @ucswift |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi I'm Getting this error
[FileNotFoundException: Could not find file 'C:\Resgrid\Api\App_Data\Resgrid.Web.Services.XML'.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1404 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1242 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +127 System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +122 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +96 System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +74 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0 System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +116 System.Xml.XmlTextReaderImpl.OpenUrl() +392 System.Xml.XmlTextReaderImpl.Read() +123 System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) +288 System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space) +209 Resgrid.Web.Services.Areas.HelpPage.XmlDocumentationProvider..ctor(String documentPath) in C:\TeamCity\buildAgent\work\281f5f08a6efe95a\Web\Resgrid.Services\Areas\HelpPage\XmlDocumentationProvider.cs:35 Resgrid.Web.Services.Areas.HelpPage.HelpPageConfig.Register(HttpConfiguration config) in C:\TeamCity\buildAgent\work\281f5f08a6efe95a\Web\Resgrid.Services\Areas\HelpPage\App_Start\HelpPageConfig.cs:37 System.Web.Mvc.AreaRegistration.RegisterAllAreas(RouteCollection routes, IBuildManager buildManager, Object state) +231 Resgrid.Web.Services.WebApiApplication.Application_Start() in C:\TeamCity\buildAgent\work\281f5f08a6efe95a\Web\Resgrid.Services\Global.asax.cs:74 [HttpException (0x80004005): Could not find file 'C:\Resgrid\Api\App_Data\Resgrid.Web.Services.XML'.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +517 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +185 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369 [HttpException (0x80004005): Could not find file 'C:\Resgrid\Api\App_Data\Resgrid.Web.Services.XML'.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724
also I want to know how to connect from the mobile app to local server
The text was updated successfully, but these errors were encountered: