472,127 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

Incorrect Function, Parser Errors

Hi,

I've been seeing two symptoms with my asp.net site that have started
recently after a long period of smooth running. As others on our team
make changes to referenced dll's I find that I get the following
errors from time to time.

Apparently the following procedure alleviates the problems:

-Reboot (clears locks on following directory)
-Remove all contents of
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files
-Load vs.net
-Rebuild solution

It seems that my cache is getting out of sync and rebuilding alone is
not refreshing it. Since my solution contains many projects, this
procedure is fairly time-consuming. In addition, it's disconcerting
to not understand any such problem.

Ideas? Thanks!

Mark
TWO ERRORS:

1. Parser error

This will occur in different pages in the site as the user control
declarations are apparently being parsed in my aspx files.
Invalid function error. This will refer to multiple copies of a dll
being present (I'm using Microsoft's Enterprise Localization
Framework and it's the ELF dll that's being complained about).
2. Incorrect Function
This occurs on the application login page. The stack track looks like
this:

Incorrect function.
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.IOException: Incorrect function.

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:

[IOException: Incorrect function.
]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +723
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.StreamReader..ctor(String path, Encoding encoding, Boolean
detectEncodingFromByteOrderMarks, Int32 bufferSize) +79
System.Web.UI.Util.ReaderFromFile(String filename, HttpContext
context, String configPath) +363
System.Web.UI.TemplateParser.ParseFile(String filename, String
virtualPath) +62
System.Web.UI.TemplateParser.Parse() +200
System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()
+74
System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
fCreateIfNotFound) +189
System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath()
+125
System.Web.UI.TemplateParser.GetParserCacheItem() +88

System.Web.UI.TemplateControlParser.CompileAndGetP arserCacheItem(String
virtualPath, String inputFile, HttpContext context) +120
System.Web.UI.TemplateControlParser.GetCompiledIns tance(String
virtualPath, String inputFile, HttpContext context) +36
System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String
virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context,
String requestType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,
String requestType, String path, String pathTranslated, Boolean
useAppConfig) +696

System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep.Execute()
+95
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +173

Nov 19 '05 #1
1 3827
Hi Murphy,

I'm viewing this post and found that there has another two threads in the
group regarding on the related issues. I've posted my reply in both of
them, please feel free to followup there. Thanks,
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Gustaf Liljegren | last post: by
1 post views Thread by John Silicon | last post: by
4 posts views Thread by sam | last post: by
6 posts views Thread by Jan Danielsson | last post: by
12 posts views Thread by Janiek Buysrogge | last post: by
3 posts views Thread by murphy | last post: by
8 posts views Thread by Uros | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.