Microsoft MOSS 2007 / WSS 3.0 Deployment Issues

August 29, 2008 at 9:41 am 1 comment

The following is a list of issues encountered while working with Windows Sharepoint Services (WSS) 3.0 and Microsoft Office Sharepoint Service (MOSS) 2007.

When I activate the feature, I get “Unable to import feature” and “A file specified in the modules section of this template already exists.”

Basically, when you activate the feature, it attempts to import your web part, but if you have deployed this web part previously, it will thrown this error. This is the case even if you have retract and deleted the solutions for your web part.

To fix, go to your feature element files, there should be an entry for the file of the web part such as:

<File Url="MyWebPart" Type="GhostableInLibrary" IgnoreIfAlreadyExists="false" >

Make sure that IgnoreIfAlreadyExists is set to true.

When I add the web part, I get an error saying that the web part cannot be imported. In the WSS log file, there is an error “Exception System.ArgumentException: Value does not fall within the expected range.”

The web part activates properly, but when I add the web part, I get an error importing the web part. After playing around with it for several hours, I figured out that the problem was URL based. If add the web part when I am browsing the fully qualified name like “http://myserver.mydomain.com/myspace&#8221;, it will throw that error when I add the web part. However, if I add the web part when I am browsing “http://myserver/myspace&#8221;, it works just fine.

If you go to Sharepoint Central Admin and select Operations->Alternate Mapping, you’ll see the URL mapped to your application. You must use the mapping listed here or add additional ones.

Advertisements

Entry filed under: Sharepoint.

I can’t create a new folder in TFS Sourcecontrol Tips on Windows File and Print Sharing

1 Comment Add your own

  • 1. Dave  |  December 17, 2008 at 10:51 am

    Wow – Thanks for the note in the alternate mapping for the “Value does not fall in the expected range” error.. I was getting stack overflows and unable to import errors. How in the world can Microsoft release this stuff when it has stupid bugs like this!

    Thanks again – you saved my remaining hair.

    dave

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

August 2008
M T W T F S S
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031

Most Recent Posts


%d bloggers like this: