Deployment problem
Hi,
I developed an asp.net assignment given by my college, it works perfectly well on my machine. I have created an installer for the application and tried to deploy it on the college machine. The web app has a asp.net page which uses a DataGrid(it was datagrid propertybuilder assignment).
But when i try to deploy the same and run on my machine, using the installer, i get the following exception.
Server Error in '/Custom' Application. Could not find a part of the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET Files\custom\4738b4fb\e6901207\hash.web". 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.IO.DirectoryNotFoundException: Could not find a part of the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET Files\customcoding\4738b4fb\e6901207\hash.web".
Source Error:
<CODE>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.</CODE>
Stack Trace:
<CODE>
[DirectoryNotFoundException: Could not find a part of the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET Files\customcoding\4738b4fb\e6901207\hash.web".]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +287
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +44
System.IO.StreamWriter.CreateFile(String path, Boolean append) +55
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +49
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +20
System.Web.Compilation.PreservedAssemblyEntry.Writ ePreservedSpecialFilesCombinedHash(Int64 hash) +165
System.Web.Compilation.PreservedAssemblyEntry.DoFi rstTimeInit(HttpContext context) +850
System.Web.Compilation.PreservedAssemblyEntry.Ensu reFirstTimeInit(HttpContext context) +97
System.Web.Compilation.PreservedAssemblyEntry.GetP reservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29
System.Web.UI.TemplateParser.GetParserCacheItemFro mPreservedCompilation() +91
System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean fCreateIfNotFound) +148
System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.ApplicationFileParser.GetCompiledApp licationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplicati on(HttpContext context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext context) +170
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +414
</CODE>
It works well on my machine without any problem.
Please help.Its urgent, have a due date to submit before.
__________________
Everybody is talented but i am intelligent enough to learn from their knowledge.
|