Geeks With Blogs
Tangible Thoughts SharePoint, MOSS? and all the other questions

I experienced an issue with the SharePoint Solution Generator today it kept crashing right the first screen (i.e. choosing Site Definition and clicking next).

The exception being thrown shows that the tool is looking for a SharePoint site on the default website i.e. http://ServerName

Now in this paticular case there was no SharePoint site on the on port 80 so http://ServerName would naturually fail.

As much as I would like to I am not going to complain about this being a silly Exception.

The workaround:  Create a temporary sharepoint site on port 80.

Cross-posted from tariqayad.com

Posted on Friday, March 9, 2007 10:22 AM SharePoint | Back to top


Comments on this post: SharePoint Solution Generator hardcoded to lookup the Default Website (Port 80)

# re: SharePoint Solution Generator hardcoded to lookup the Default Website (Port 80)
Requesting Gravatar...
"As much as I would like to I am not going to complain about this being a silly Exception."

No, this is just wrong. I work in a government environment where nothing is on Port 80 - N O T H I N G -.

Who, in the real development world, hard codes that kind of thing, anymore?

Ouch!
Left by J. Matthew Phipps on Mar 09, 2007 2:22 PM

# Setting up your MOSS 2007 Development Environment
Requesting Gravatar...
As Daniel mentioned in his comment to my last post: Is it me or now in version 1 the installation checks...
Left by Hurlman.Tech on Mar 23, 2007 10:07 AM

# re: SharePoint Solution Generator hardcoded to lookup the Default Website (Port 80)
Requesting Gravatar...
It turns out that the value is taken from the environment variable COMPUTERNAME
setting this before calling spsolgen might as well solve your problem.
Left by Mario Topf on Jun 14, 2007 6:05 AM

# re: SharePoint Solution Generator hardcoded to lookup the Default Website (Port 80)
Requesting Gravatar...
I need a details for sharpoint details,, this is first time i want to know this details.
Left by anbu on Feb 10, 2008 6:34 PM

Your comment:
 (will show your gravatar)


Copyright © Tariq | Powered by: GeeksWithBlogs.net