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 ...