By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,660 Members | 1,215 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,660 IT Pros & Developers. It's quick & easy.

Zero Deployment on Windows 2003 Server

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.