470,591 Members | 1,869 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

Zero Deployment on Windows 2003 Server

I am working on testing zero deployment on Windows 2003 server. The
application I am testing is a simple Managed application written in C#. When
I access the application I receive the following error:

Unhandled Exception: System.ArgumentException: Invalid directory on URL. at
System.Security.CodeAccessSecurityEngine.GetZoneAn dOriginInternal(ArrayList
zoneList, ArrayList originList, StackCrawlMark& stackMark, Int32 checkFrames)
at System.Security.SecurityManager.GetZoneAndOrigin(A rrayList& zone,
ArrayList& origin) at System.Windows.Forms.Form.RestrictedWindowText(Str ing
original) at System.Windows.Forms.Form.get_CreateParams() at
System.Windows.Forms.Control..ctor() at
System.Windows.Forms.ScrollableControl..ctor() at
System.Windows.Forms.ContainerControl..ctor() at
System.Windows.Forms.Form..ctor() at TestApplication.Form1..ctor() in
e:\visualstudioprojects\profileeditor\testapplicat ion\form1.cs:line 21 at
TestApplication.Form1.Main() in
e:\visualstudioprojects\profileeditor\testapplicat ion\form1.cs:line 84

This application runs just fine on Windows XP professional being deployed
via IIS. It also runs properly on the local machine.
--
JPB
Jul 21 '05 #1
1 1654
JP
I assume that zero deployment is synomous with no-touch deployment. I also
am not sure what you mean by "deployed via IIS". Any way it appears that
you may have a security issue, is your application signed? Did you go
through the steps of trusting the domain in which your applicaiton is being
loaded from or trusting the security key that you signed your application
with?
Dan

"JP Burford" <JP*******@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...
I am working on testing zero deployment on Windows 2003 server. The
application I am testing is a simple Managed application written in C#. When I access the application I receive the following error:

Unhandled Exception: System.ArgumentException: Invalid directory on URL. at System.Security.CodeAccessSecurityEngine.GetZoneAn dOriginInternal(ArrayList zoneList, ArrayList originList, StackCrawlMark& stackMark, Int32 checkFrames) at System.Security.SecurityManager.GetZoneAndOrigin(A rrayList& zone,
ArrayList& origin) at System.Windows.Forms.Form.RestrictedWindowText(Str ing original) at System.Windows.Forms.Form.get_CreateParams() at
System.Windows.Forms.Control..ctor() at
System.Windows.Forms.ScrollableControl..ctor() at
System.Windows.Forms.ContainerControl..ctor() at
System.Windows.Forms.Form..ctor() at TestApplication.Form1..ctor() in
e:\visualstudioprojects\profileeditor\testapplicat ion\form1.cs:line 21 at
TestApplication.Form1.Main() in
e:\visualstudioprojects\profileeditor\testapplicat ion\form1.cs:line 84

This application runs just fine on Windows XP professional being deployed
via IIS. It also runs properly on the local machine.
--
JPB

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Jim Rolfe | last post: by
2 posts views Thread by Dave Wendleton | last post: by
1 post views Thread by Wendy Elizabeth | last post: by
2 posts views Thread by EricJ | last post: by
5 posts views Thread by DEWright_CA | last post: by
3 posts views Thread by al | last post: by
1 post views Thread by JP Burford | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.