So, I've got a head scratcher and if anyone has any ideas, I'd muchly appreciate it.
We have an internal web app that (amongst other things) serves some pdf reports. These are stored on the network on a different machine. I managed to have them working for months, and in the past week something has caused them to stop working.
How I set them up the first time:
1) create a virtual directory in the website that pointed to the network path.
2) tell the virtual directroy to connect with specific credentials that have read permissions to the network folder.
3) test and everything works!
Now, I've checked permissions, network paths and everything else I can think of and none of it seems to be the cause of the following eror
I've even tried using my credentails (which work for sure) and can't get it to work through IIS. The really strange thing is that when I click "Test Settings..." I get checkmarks on authentication and authorization, so it SHOULD work fine. I've tried through localhost and through the dns...
It's really frustrating when something works and then doesn't... any ideas would be appreciated...
We have an internal web app that (amongst other things) serves some pdf reports. These are stored on the network on a different machine. I managed to have them working for months, and in the past week something has caused them to stop working.
How I set them up the first time:
1) create a virtual directory in the website that pointed to the network path.
2) tell the virtual directroy to connect with specific credentials that have read permissions to the network folder.
3) test and everything works!
Now, I've checked permissions, network paths and everything else I can think of and none of it seems to be the cause of the following eror
Code:
Server Error in '/internal' Application.
Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E)
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.Runtime.InteropServices.COMException: Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E)
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:
[COMException (0x8007052e): Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E)]
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) +0
System.Web.Hosting.IIS7WorkerRequest.ReMapHandlerAndGetHandlerTypeString(HttpContext httpContext, String path, Boolean& handlerExists) +102
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +174
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
I've even tried using my credentails (which work for sure) and can't get it to work through IIS. The really strange thing is that when I click "Test Settings..." I get checkmarks on authentication and authorization, so it SHOULD work fine. I've tried through localhost and through the dns...
It's really frustrating when something works and then doesn't... any ideas would be appreciated...