473,387 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

MSXML problem on Win2003 Web Server: 800a01fb|An_exception_occurred

Carrugar
Hi folks, was hoping someone might have some suggestions to a major PITA problem I'm having!

I have a function below which resides in an ASP file. It creates a URL using the strParams variable then submits it using MSXML and the .URL method. After several successful iterations, the function hangs and I get an error in the IIS logs (shown below):

Function jsDoesFileExist(strFileName)

dim xml
dim strURL
dim sURL
dim strParams
dim strAction

Set xml = Server.CreateObject("msxml")

strURL = Application("strAppRoot") & "/custom/fileshortcuts/xml_fileoperations.asp"
strAction = "jsDoesFileExist"

strParams = "?Action=" & strAction & "&"
strParams = strParams & "FileName=" & Server.URLEncode(strFileName) & "&"

sURL = strURL & strParams

xml.URL = sURL

jsDoesFileExist = xml.root.children.item("FileExists").text

if isObject(xml) then
Set xml = nothing
end if

End Function


ERROR IN IIS LOGS:

2007-08-01 11:39:04
POST ../Custom/FileShortcuts/GetFileShortcut.asp Open+START+http://pxp-wi0-flweb02/frontlinecheck/custom/fileshortcuts/xml_fileoperations.asp?
Action=jsDoesFileExist&FileName=\\pxp-wi0-fs2v3\filename.txt
+END+|196|800a01fb|An_exception_occurred:_'sURL.UR L' 80 pxp-wi0-flweb02 500 0 0

Everything between the START and END tags is what is being passed in the xml.URL property. If you copy and paste this into IE6.0 the function works ok and it calls the procudure jsDoesFileExist without error. But when running through the app I get the EXCEPTION OCCURRED error.

Could it be a memory issue? Any other suggestions greatly received.

This code used to work fine in IIS 4.0 on an NT4 server but we have migrated to IIS 6.0 on a Win2003 server and now these problems are occurring.

Many thanks in advance for any help.
Aug 1 '07 #1
0 1254

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Mike Kanski | last post by:
I get this error Microsoft VBScript runtime error '800a01fb' When i call LoadPicture method, or when i pretty much do any operation with PictureBox like setting width and height. It happened...
0
by: Randy | last post by:
Hi all, I'm a developer on the database backend and need to figure out how to get a c++ .net executable to run on a win2003 server. The executable transfers data between oracla and sql server...
7
by: Michael | last post by:
Hi, I have a problem parsing XML file using XSLT stylesheet by using : using System.Xml; using System.Xml.XPath; using System.Xml.Xsl; // load Xsl stylesheet XslTransform myXslTrans = new...
1
by: Jody Gelowitz | last post by:
We are having an issue in that when trying to read a file that is on Server2 from Server1 (through our ASP.NET project), we receive the error: Access to the path "\\Server2\MyShare\MyFile.tif" is...
2
by: Ike | last post by:
Is anyone aware of any reason why the following won't work on a Windows Server 2003 r2 64 bit Edition? I am simply calling the following snippet, and trying to execute it in a browser window...
2
by: Don Rich | last post by:
Please share with me any ideas you may have for troubleshooting and resolving the subject problem. I can give more details as necessary. (Please advise if I should post this problem to a more...
13
by: yawnmoth | last post by:
<http://www.quirksmode.org/book/printable/xmlhttp.txtshows two alternatives to Microsoft.XMLHTTP - Msxml2.XMLHTTP and Msxml3.XMLHTTP. If my understanding is correct, the different numbers refer to...
4
by: mrjaxon | last post by:
I have a C# web application which leverages MSXML that I am trying to migrate to a 64 bit environment. Currently the application is built on the .NET 2.0 Framework and using MSXML 6 (though I had...
6
by: Anthony Jones | last post by:
People, Anyone else got an IIS7 server out there that they can test this little ASP file:- <% Set xml = Server.CreateObject("MSXML2.DOMDocument.3.0") xml.loadXML "<root />" Set xsl =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.