I never used this XSLT on my machine with UNC path. But other guy use it on VPC with HTTP path and it was working fine there. So i copied the same XSLT for IIS on my machine and its not working.
I've been looking at your project and am unable to come to a resolution. Because you are using a windows forms application and trying to import an
XSLT which requires permissions being passed through to the
webserver, we are getting the compile error. The reason is the permissions
arn't being passed. I've tried bringing the
XSLT in as a child of the project and removing the virtual directory, I've also tried adding the local user's permissions to the virtual directory as well. All with unsuccessful results. At this point I'm
unsure as the next steps to take for your business needs. The directions I would take would be either to make this a webform project therefore your not hindered with the permissions issue, or, to combine the XSLT's into a single XSLT and utilize the templates
thus removing the import issue from the equation.
ok could you please discuss or mention the code changes you made then to get it to work? Bad form not to post your solution after all these contributors spent time looking into your problem.
hitinderb4u
Member
481 Points
158 Posts
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Aug 22, 2007 09:59 PM|LINK
I never used this XSLT on my machine with UNC path. But other guy use it on VPC with HTTP path and it was working fine there. So i copied the same XSLT for IIS on my machine and its not working.
MCT | MCPD | MCTS |OCA
Learning never ends ...
hitinderb4u
Member
481 Points
158 Posts
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Aug 23, 2007 02:36 PM|LINK
We tried installing VPC on my machine and tried to work with XSLT and its working fine. Now i dont understand why its not working on PC.
If you could give me your contact id i can mail you the whole project
MCT | MCPD | MCTS |OCA
Learning never ends ...
Diamsorn
Contributor
2119 Points
384 Posts
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Aug 23, 2007 04:41 PM|LINK
PM me for my direct email address.
My Blog
Diamsorn
Contributor
2119 Points
384 Posts
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Aug 28, 2007 03:54 PM|LINK
I've been looking at your project and am unable to come to a resolution. Because you are using a windows forms application and trying to import an XSLT which requires permissions being passed through to the webserver, we are getting the compile error. The reason is the permissions arn't being passed. I've tried bringing the XSLT in as a child of the project and removing the virtual directory, I've also tried adding the local user's permissions to the virtual directory as well. All with unsuccessful results. At this point I'm unsure as the next steps to take for your business needs. The directions I would take would be either to make this a webform project therefore your not hindered with the permissions issue, or, to combine the XSLT's into a single XSLT and utilize the templates thus removing the import issue from the equation.
Good Luck,
My Blog
hitinderb4u
Member
481 Points
158 Posts
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Aug 28, 2007 04:29 PM|LINK
Dear Dave,
I will try all that you said.
However you have been very helpful during the whole process. And i really appericate you for all your help my dear friend.
take care.
MCT | MCPD | MCTS |OCA
Learning never ends ...
cenney
Member
4 Points
2 Posts
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Feb 21, 2008 08:35 AM|LINK
I encounter this problem too!
and a stupid method to solve it: in xsl file, change your include/import xsl file path to absolute path.
for example:
old: <xsl:include href="/SB/Components/xsl/components.xsl"/>
new: <xsl:include href="C:\Inetpub\wwwroot\SB\Components\xsl\components.xsl"/>
compile works well in this way!!!
RogerRabbit
Participant
1540 Points
247 Posts
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Feb 23, 2008 01:07 AM|LINK
If it is a permission problem you may want to try the filemon utility to discover where the missing permission is.
http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx
This utility will monitor all the disk access and you can search for anything that may fail due to permission problems.
hitinderb4u
Member
481 Points
158 Posts
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Feb 28, 2008 01:01 AM|LINK
thanks for your help
but its now working for windows using the old* method
<xsl:include href="/SB/Components/xsl/components.xsl"/>
and with the web as well. Just made some changes in code.
MCT | MCPD | MCTS |OCA
Learning never ends ...
cenney
Member
4 Points
2 Posts
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Jun 12, 2008 07:56 AM|LINK
can you tell me how to fix this, thanksOutland
Member
2 Points
1 Post
Re: XSLT compile error, while calling the load method for XSLCompiledTransform
Oct 01, 2008 07:51 PM|LINK
ok could you please discuss or mention the code changes you made then to get it to work? Bad form not to post your solution after all these contributors spent time looking into your problem.
Thanks.