Access denied to file + Network related error


[Windows Server 2012

SQL Server Express 2008

Bizagi Studio x64]

I've encountered two errors in the windows server logs.


Date Time:

8/19/2016 12:11:38 PM




Access to the path 'C:\Bizagi\Projects\Afastamento_Curta\WebApplication\js\Implementation.js' is denied.

Stack Trace:

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at 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)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)

at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)

at System.IO.StreamWriter..ctor(String path)

at BizAgi.WorkPortal.CThemeManager.SaveToFile(String sFullFileName, String sFileData)

at BizAgi.WorkPortal.CThemeManager.SaveImplementationJs(DataTable dtBAImplementationJs)

at BizAgi.WorkPortal.CThemeManager.DownloadCurrentTheme(IBLWorkPortal oBLWorkPortal)



Bizagi Scheduler Service could not start : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Stack Trace: at Vision.DA.CSqlDataProvider.RunQuery(String sQuery, String sTableName, Boolean bFillSchema, DataSet oDs)

at Vision.DA.CSqlDataProvider.RunQuery(String sQuery, String sTableName)

at BizAgi.Defs.BAEnvironment.DA.CBAEnvironmentManagerDA.GetCurrentEnvironment()

at BizAgi.Defs.BAEnvironment.CBAEnvironmentManager.GetCurrentEnvironment()

at BizAgi.Defs.BAEnvironment.CBAEnvironmentManager.GetCurrentEnvironmentId()

at BizAgi.LDAP.Merger..ctor()

at BizAgi.Scheduler.Services.CSchedulerAgent..ctor(CSchedulerService oService, IAsynchExecutionJobFactory asynchExecutionJobFactory)

at BizAgi.Scheduler.Services.CSchedulerService.constructor()


Any help would be appreciated!

Comments (1)


Dear Hugo,

Verify the user who run the IIS pool. Probably it requires to have full access to WebApplication folder. You can follow these article to check your environment and rights:

We look forward to hearing from you