Posted on: 8/2/2013 3:28:20 AM | Views : 224

 I am using the following code to pass the url but get an error that the url is nt valid.  The same code works fine in a Windows application
using (SPSite site = new SPSite(http://MyServer:1234/MySite)) { using (SPWeb web = site.OpenWeb()) { ......... If I copy this url in IE address bar; it brings up the page fine.
Any idea how to resolve this issue?
...

Go to the complete details ...