I have this vb.net (framework 1.1) code:
Dim x As Xml.Xsl.XslTransform = New Xml.Xsl.XslTransform
Dim xr As XmlResolver
MessageBox.Show("before load")
x.Load(<xsl file name>) -- THIS IS WHERE IT ERRORS --
MessageBox.Show("after load")
'do the transform
x.Transform(gsXpensePath, < XML file_name>, xr)
And I'm getting an "invalied site" error. Any idea why? When I run this from
the development box it works fine, but from the machine that it is supposed
to run on I get the error. It used to work fine but all of a sudden it
starts bombing this morning.
Any help is appreciated.
Doug 9 1556
"Doug Stiers" <do**@nospam.com> schrieb: x.Load(<xsl file name>) -- THIS IS WHERE IT ERRORS -- MessageBox.Show("after load") 'do the transform x.Transform(gsXpensePath, < XML file_name>, xr)
And I'm getting an "invalied site" error. Any idea why?
Please post the /complete/ error message you are receiving.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Invalid site.
The last line of the call stack is:
System.Security.Util.SiteString.CreateSeperatedSit e(String site)
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:up**************@TK2MSFTNGP14.phx.gbl... "Doug Stiers" <do**@nospam.com> schrieb: x.Load(<xsl file name>) -- THIS IS WHERE IT ERRORS -- MessageBox.Show("after load") 'do the transform x.Transform(gsXpensePath, < XML file_name>, xr)
And I'm getting an "invalied site" error. Any idea why?
Please post the /complete/ error message you are receiving.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Doug,
Post the complete error message, along with the file name.
Hope this helps
Jay
"Doug Stiers" <do**@nospam.com> wrote in message
news:ul****************@tk2msftngp13.phx.gbl... Invalid site.
The last line of the call stack is: System.Security.Util.SiteString.CreateSeperatedSit e(String site)
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:up**************@TK2MSFTNGP14.phx.gbl... "Doug Stiers" <do**@nospam.com> schrieb: > x.Load(<xsl file name>) -- THIS IS WHERE IT ERRORS -- > MessageBox.Show("after load") > 'do the transform > x.Transform(gsXpensePath, < XML file_name>, xr) > > And I'm getting an "invalied site" error. Any idea why?
Please post the /complete/ error message you are receiving.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
"Doug Stiers" <do**@nospam.com> schrieb: Invalid site.
The last line of the call stack is: System.Security.Util.SiteString.CreateSeperatedSit e(String site)
I still doubt that this is the complete exception text shown in the
exception dialog box that is appearing.
Maybe this helps:
<URL:http://groups.google.de/groups?selm=BC6tb.1329%24Dw6.12720%40attbi_s02>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
The entire error is "Invalid site"
The file names are using unc's
x.Load("\\serv1\c$\xpense\xpense.xsl") -- THIS IS WHERE IT ERRORS --
'MessageBox.Show("after load")
'do the transform
x.Transform(gsXpensePath, "\\serv1\c$\xpense\output.xml",xr)
Thanks,
Doug
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:eV**************@tk2msftngp13.phx.gbl... Doug, Post the complete error message, along with the file name.
Hope this helps Jay
"Doug Stiers" <do**@nospam.com> wrote in message news:ul****************@tk2msftngp13.phx.gbl... Invalid site.
The last line of the call stack is: System.Security.Util.SiteString.CreateSeperatedSit e(String site)
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:up**************@TK2MSFTNGP14.phx.gbl... "Doug Stiers" <do**@nospam.com> schrieb: > x.Load(<xsl file name>) -- THIS IS WHERE IT ERRORS -- > MessageBox.Show("after load") > 'do the transform > x.Transform(gsXpensePath, < XML file_name>, xr) > > And I'm getting an "invalied site" error. Any idea why?
Please post the /complete/ error message you are receiving.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Doug,
Is this running on \\serv1 or a different computer?
Does the account the program running under have the necessary authority to
access the \\serv1\c$ share?
Remember \\serv1\c$ is a special share that is used for administrative
purposes, normally not for accessing files.
Did you per haps mean: x.Load("\\serv1\xpense\xpense.xsl") -- THIS IS WHERE IT ERRORS --
Hope this helps
Jay
"Doug Stiers" <do**@nospam.com> wrote in message
news:uK**************@TK2MSFTNGP15.phx.gbl... The entire error is "Invalid site"
The file names are using unc's
x.Load("\\serv1\c$\xpense\xpense.xsl") -- THIS IS WHERE IT ERRORS -- 'MessageBox.Show("after load") 'do the transform x.Transform(gsXpensePath, "\\serv1\c$\xpense\output.xml",xr)
Thanks,
Doug
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message news:eV**************@tk2msftngp13.phx.gbl... Doug, Post the complete error message, along with the file name.
Hope this helps Jay
"Doug Stiers" <do**@nospam.com> wrote in message news:ul****************@tk2msftngp13.phx.gbl... > Invalid site. > > The last line of the call stack is: > System.Security.Util.SiteString.CreateSeperatedSit e(String site) > > > "Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message > news:up**************@TK2MSFTNGP14.phx.gbl... >> "Doug Stiers" <do**@nospam.com> schrieb: >> > x.Load(<xsl file name>) -- THIS IS WHERE IT ERRORS -- >> > MessageBox.Show("after load") >> > 'do the transform >> > x.Transform(gsXpensePath, < XML file_name>, xr) >> > >> > And I'm getting an "invalied site" error. Any idea why? >> >> Please post the /complete/ error message you are receiving. >> >> -- >> M S Herfried K. Wagner >> M V P <URL:http://dotnet.mvps.org/> >> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> > >
I put a messagbox in that function to display the following:
ex.Message & vbCrLf & ex.GetBaseException.StackTrace
Here is the output
Ivalid site.
at System.Security.Util.SiteString.CreateSeperatedSit e(String site)
at System.Xml.XmlSecureResolver.CreateEvidenceForUrl( sString securityUrl)
at System.Xml.Xsl.XslTransform.Load(String url, XmlResolver resolver)
at System.Xml.Xsl.XslTransform.Load(String url)
at Concur.Expense.NikuXpenseTransform()
Thanks,
Doug
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uI**************@tk2msftngp13.phx.gbl... "Doug Stiers" <do**@nospam.com> schrieb: Invalid site.
The last line of the call stack is: System.Security.Util.SiteString.CreateSeperatedSit e(String site) I still doubt that this is the complete exception text shown in the exception dialog box that is appearing.
Maybe this helps:
<URL:http://groups.google.de/groups?selm=BC6tb.1329%24Dw6.12720%40attbi_s02> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
It has been running for a couple of years without any problems until today.
Here is the error info and call stack:
Ivalid site.
at System.Security.Util.SiteString.CreateSeperatedSit e(String site)
at System.Xml.XmlSecureResolver.CreateEvidenceForUrl( sString securityUrl)
at System.Xml.Xsl.XslTransform.Load(String url, XmlResolver resolver)
at System.Xml.Xsl.XslTransform.Load(String url)
at Concur.Expense.NikuXpenseTransform()
If I log onto that machine and paste those unc's into the Start|Run I dont
get any errors. I can get to those files fine. It errors when I'm logged in
as myself or as the machine admin which is how it runs normally.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:uY**************@TK2MSFTNGP15.phx.gbl... Doug, Is this running on \\serv1 or a different computer?
Does the account the program running under have the necessary authority to access the \\serv1\c$ share?
Remember \\serv1\c$ is a special share that is used for administrative purposes, normally not for accessing files.
Did you per haps mean:
x.Load("\\serv1\xpense\xpense.xsl") -- THIS IS WHERE IT ERRORS --
Hope this helps Jay
"Doug Stiers" <do**@nospam.com> wrote in message news:uK**************@TK2MSFTNGP15.phx.gbl... The entire error is "Invalid site"
The file names are using unc's
x.Load("\\serv1\c$\xpense\xpense.xsl") -- THIS IS WHERE IT
ERRORS -- 'MessageBox.Show("after load") 'do the transform x.Transform(gsXpensePath, "\\serv1\c$\xpense\output.xml",xr)
Thanks,
Doug
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in
message news:eV**************@tk2msftngp13.phx.gbl... Doug, Post the complete error message, along with the file name.
Hope this helps Jay
"Doug Stiers" <do**@nospam.com> wrote in message news:ul****************@tk2msftngp13.phx.gbl... > Invalid site. > > The last line of the call stack is: > System.Security.Util.SiteString.CreateSeperatedSit e(String site) > > > "Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in
message > news:up**************@TK2MSFTNGP14.phx.gbl... >> "Doug Stiers" <do**@nospam.com> schrieb: >> > x.Load(<xsl file name>) -- THIS IS WHERE IT ERRORS -- >> > MessageBox.Show("after load") >> > 'do the transform >> > x.Transform(gsXpensePath, < XML file_name>, xr) >> > >> > And I'm getting an "invalied site" error. Any idea why? >> >> Please post the /complete/ error message you are receiving. >> >> -- >> M S Herfried K. Wagner >> M V P <URL:http://dotnet.mvps.org/> >> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> > >
Doug, It has been running for a couple of years without any problems until today.
It is extremely rare for things to spontaneously stop working, there is
almost always an outside cause. What was that outside cause?
So what changed today?
What service packs were installed (OS, .NET, other)?
What configuration changes did your system admins do?
What changes were made to the program?
As far as I can tell "Site" in this case is referring to the machine name
(serv1).
Not sure what else to offer.
Hope this helps
Jay
"Doug Stiers" <do**@nospam.com> wrote in message
news:uz**************@tk2msftngp13.phx.gbl... It has been running for a couple of years without any problems until today.
Here is the error info and call stack: Ivalid site. at System.Security.Util.SiteString.CreateSeperatedSit e(String site) at System.Xml.XmlSecureResolver.CreateEvidenceForUrl( sString securityUrl) at System.Xml.Xsl.XslTransform.Load(String url, XmlResolver resolver) at System.Xml.Xsl.XslTransform.Load(String url) at Concur.Expense.NikuXpenseTransform()
If I log onto that machine and paste those unc's into the Start|Run I dont get any errors. I can get to those files fine. It errors when I'm logged in as myself or as the machine admin which is how it runs normally.
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message news:uY**************@TK2MSFTNGP15.phx.gbl... Doug, Is this running on \\serv1 or a different computer?
Does the account the program running under have the necessary authority to access the \\serv1\c$ share?
Remember \\serv1\c$ is a special share that is used for administrative purposes, normally not for accessing files.
Did you per haps mean:
> x.Load("\\serv1\xpense\xpense.xsl") -- THIS IS WHERE IT ERRORS --
Hope this helps Jay
"Doug Stiers" <do**@nospam.com> wrote in message news:uK**************@TK2MSFTNGP15.phx.gbl... > The entire error is "Invalid site" > > The file names are using unc's > > x.Load("\\serv1\c$\xpense\xpense.xsl") -- THIS IS WHERE IT ERRORS -- > 'MessageBox.Show("after load") > 'do the transform > x.Transform(gsXpensePath, "\\serv1\c$\xpense\output.xml",xr) > > > Thanks, > > Doug > > "Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message > news:eV**************@tk2msftngp13.phx.gbl... >> Doug, >> Post the complete error message, along with the file name. >> >> Hope this helps >> Jay >> >> "Doug Stiers" <do**@nospam.com> wrote in message >> news:ul****************@tk2msftngp13.phx.gbl... >> > Invalid site. >> > >> > The last line of the call stack is: >> > System.Security.Util.SiteString.CreateSeperatedSit e(String site) >> > >> > >> > "Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message >> > news:up**************@TK2MSFTNGP14.phx.gbl... >> >> "Doug Stiers" <do**@nospam.com> schrieb: >> >> > x.Load(<xsl file name>) -- THIS IS WHERE IT ERRORS -- >> >> > MessageBox.Show("after load") >> >> > 'do the transform >> >> > x.Transform(gsXpensePath, < XML file_name>, xr) >> >> > >> >> > And I'm getting an "invalied site" error. Any idea why? >> >> >> >> Please post the /complete/ error message you are receiving. >> >> >> >> -- >> >> M S Herfried K. Wagner >> >> M V P <URL:http://dotnet.mvps.org/> >> >> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> >> > >> > >> >> > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Alex Vinokur |
last post by:
Functor-parameters in the for_each() and transform() algorithms are passed by value.
Might it make sense to have also algorithms for_each2() and transform2()
which pass Functor-parameters by...
|
by: Xiaolei Li |
last post by:
first off, i'm a total newbie at this stuff so excuse any wrong usage of
terminology or whatever else.
i have a XSL to transform a Document such that all "text" nodes will
have a "SPAN" inserted...
|
by: John Lehmann |
last post by:
I have an interesting problem. I am performing an XSL
transform using the System.Xml.Xsl.Transform class.
I have a database that contains the XSL style sheet
string. And it seems to work pretty...
|
by: Patrick Guio |
last post by:
Dear all,
I am trying to use the std::transform algorithm to to the following
vector< vector<char> >::iterator ik = keys.begin(); // key list iterator
vector< vector<char> >::iterator is = ik;...
|
by: Stephen Cook |
last post by:
Having worked through the problems around enabling the document function
using an XmlUrlResolver I started work on building a useful class to hide
the intricacies.
Trying to generalise the process...
|
by: Jason S |
last post by:
Hello Group,
I am just about tearing my hair out with this one and thought someone may
have some insight. I have a transform that wasn't working so I grabbed the
nearest debugger (xselerator)...
|
by: schneider |
last post by:
Anyone know if there is a way to dynamicly create a Xslt template/s and use
them as an
xml transform with-out use files for the Xslt?
All the methods I see use files.
I want to create a Xslt...
|
by: Mike Hofer |
last post by:
I've got two statements in my code that are both generating weird,
weird, weird messages:
The first one was,
Dim document As System.Xml.XmlDocument
Dim navigator As...
|
by: Dean Card |
last post by:
Okay, so here is the situation. I have need to do some on-the-fly image
creation. I have everything working great except for the last part of it,
applying a perspective type transform to the...
|
by: Vijai Kalyan |
last post by:
Hello,
I am trying to use std::transform to take in a collection of strings,
transform them and insert the result into an output container. So, I
wrote something like this:
std::wstring...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |