Development Work Portal not working
Hi,
I'm following the steps in the first Suite Product evaluation exercise. When I try to access the development Work Portal (p.65, local URL is http://localhost:10024/BPMProject) I get the following error. I'm using the quick start IIS and SQL. I'm guessing it's a permissions issue but not sure where to look.
Justin
Server Error in '/BPMProject' Application.Access to the path 'C:\Bizagi\Projects\BPMProject\Temporary\SOA\WsdlTemp' is denied.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Access to the path 'C:\Bizagi\Projects\BPMProject\Temporary\SOA\WsdlTemp' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[UnauthorizedAccessException: Access to the path 'C:\Bizagi\Projects\BPMProject\Temporary\SOA\WsdlTemp' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +419
System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) +1349
System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) +73
BizAgi.Defs.CWsdlUtil.LoadWsdlFile(String sWsdlFullPäth) +66
BizAgi.Defs.CWsdlUtil.GetWsdlFullPäth() +207
BizAgi.ComponentLibrary.CLibraryLoader.loadProxyClasses() +4361
BizAgi.ComponentLibrary.CLibraryLoader..ctor() +1403
BizAgi.ComponentLibrary.CRuleContext.createLibraryLoader() +31
BizAgi.BL.CBLRule.createRuleAssembly() +9
BizAgi.UI.WFBiz.CGlobalAsax.Application_Start(Object sender, EventArgs e) +686
[Exception: If you need to configure the webconfig for Federated Authentication assign permissions to Bizagi's application pool user for automatically modify.]
BizAgi.UI.WFBiz.CGlobalAsax.Application_Start(Object sender, EventArgs e) +924
BizAgiBPM.Global.Application_Start(Object sender, EventArgs e) +9
[HttpException (0x80004005): If you need to configure the webconfig for Federated Authentication assign permissions to Bizagi's application pool user for automatically modify.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +544
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +186
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343
[HttpException (0x80004005): If you need to configure the webconfig for Federated Authentication assign permissions to Bizagi's application pool user for automatically modify.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +579
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +112
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +716
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1038.0
Dear Justin,
In order to solve this problem, please follow this article http://help.bizagi.com/bpmsuite/en/index.html?prerequisites_iis.htm.
Best Regards
Thanks Juan, but I'm using IIS Express that came with the installer and those instructions appear to be for IIS (which is not turned on for my machine).
How do I set the IIS Express options, or do I have to enable IIS?
Dear Justin,
First at all, you need to install and set up IIS correctly. We recommend always to install and work with this server. In Bizagi Studio, go to Configuration tab > Web Server:
Regards
The doco indicates that Studio should be able to use IIS Express to serve a Work Portal out of the box - is that not the case?
I've changed to IIS and enabled the features listed in the doco, and followed the instructions about running aspnet_regiis -i and
%systemroot%\system32\inetsrv\APPCMD unlock config -section:system.webServer/httpCompression%systemroot%\system32\inetsrv\APPCMD unlock config -section:system.webServer/serverRuntime
When I run the process I now get a 503 error from the local URL http://desktop/BPMProject;
Service UnavailableHTTP Error 503. The service is unavailable.
Dear Justin,
Now, you need to add the project to your IIS. Follow this article: https://www.iis.net/configreference/system.applicationhost/sites/site/application
Regards
I'm not familiar with IIS, but it seems to already have Bizagi as the Default Site when I looked (see attached)
I noticed that the Bizagi and Default apps were stopped (see attached). Tried starting them but still get a 503 error.
Dear Justin,
Please follow this article to verify each step to solve this problem: http://help.bizagi.com/bpmsuite/en/index.html?operating_env.htm
Regards
Juan,
The link you provided says;
"This section describes how to manually configure Bizagi Engine for a Test or Production environment running in a .NET platform. Before you start, it is important you make sure that your Authoring (Development) environment is already set."
I am only trying to get the development environment going, not test/prod. In any case, I've looked through the material on that page but it is very confusing. I really expected the dev to work using SQL and IIS express straight out of the box and am quite disappointed that this is consuming so much time, needs detailed expert knowledge and still doesn't work. Very frustrating and putting me off what I thought was otherwise a very good product. I'll try un-installing everything and starting again from scratch.
Justin
Dear Justin,
A member of our support team will contact you to solve this problem.
Regards
Dear Justin,
While our team is contacting you, you can follow this articles:
Best Regards
Comments have been locked on this page!