Shane Bishop

I get the error "An error has occurred in the portal site. Contact the portal site administrator for assistance."

There is nothing in the error log, and nothing in the C:\Program Files\SharePoint Portal Server\Logs.

I did perform the steps in this article, http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx ID=1471, but it did not fix the problem. SP2 was installed about a month ago.

The only other thing I can tell you that may give a clue is that this was a portal site that was restored from another server.
We had to move it to a new farm.
None of my test environments in the same farm have the same problem but they were all new instances, not a backup.

Anyone have any clues of how to at least find out what the problem is

Thanks!

Shane



Re: SharePoint - Setup, Upgrade, Administration and Operation error when creating new area for SharePoint 2003 Portal

Steve_Smith

Considering this was a restore from a previous portal my first checklist would be security based. Are you sure that the person has got the necassary rights on this new portal to create areas I have had issues like this in the past when restoring my portal to a new Active Directory for example and the user sids are not the same.

Just a thought.

Steve Smith





Re: SharePoint - Setup, Upgrade, Administration and Operation error when creating new area for SharePoint 2003 Portal

Shane Bishop

Steve,

Thanks for the reply!

I was the one that tried to create the area and I am an administrator on the site.
Another administrator (the original one) tried the same thing and got the same response.
This was installed on the same AD nod as it was removed from, so I don't think there would be a problem here.
We are able to perform other adminstrative functions, like creating sub areas etc.
If this is a security problem, is there a way we can tell the SIDs are messed up
The wierd thing is that I don't even know where to start to find the problem.
It would be nice if there was an event log I could look at or a trace I could do.
Do you know of anything like that

Thanks!

Shane





Re: SharePoint - Setup, Upgrade, Administration and Operation error when creating new area for SharePoint 2003 Portal

Shane Young

I am confused. In your first post you say you can not creae an area but then in your second post you say you can create sub areas

Do you mind giving me click by click what you are doing to get the error message from the first post

I can also tell you that I had a post about this same topic http://msmvps.com/blogs/shane/archive/2005/11/02/74038.aspx and for me that fixed every environment but 1. The 1 environment I tried EVERYTHING (some vodoo stuff you haven't even considered) and nothing would fix it. I eventually had to uninstall/reinstall that portal and restore the databases. That fixed it. I still to this day have no clue what happened.

Shane - SharePoint Help





Re: SharePoint - Setup, Upgrade, Administration and Operation error when creating new area for SharePoint 2003 Portal

Shane Bishop

Yep, no problem on the click by click...

What doesn't work:
From the default/root page, go to Manage Portal Site, Click on Create Area. The first page that you fill out (usually there's a series of 3 or 4 pages to fill out), recieives the error.
From the default/root page, click on "Create Subarea", leave all of the defaults so it's a sub are under the Home site, and I get the same error (there is no choice of what template/site definition to use here)

What does work:
From the default/root page, click on "Create Subarea", change the location of the subarea to one of the lower areas, when you do this you get a drop down of templates/site definitions to choose from, I just leave it on the default topic one, and it works.

As far as your post that you referenced, we actually have executed that same STSADM command from the article I listed in my first post.

I think the problem has to do with the settings of the Home site. I have it set to automatically use a custom site definition when creating sub areas.
That seems to be the problem here is that my custom site definitions are not working.

So, with that being said, the custom site definition works on a test portal site.
I have moved the site definition files directly from the test server to the live server, shouldn't they work if they worked on the test server

I think you have me on the right track Shane, I've just never applied site definitions from one server (test environment) to another (live environment), so maybe I've done something wrong here.

By the way, can you take a look at my other post on a site definition topic:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1296421&SiteID=1

I still haven't gotten any responses on that either.

Thanks again!

Shane





Re: SharePoint - Setup, Upgrade, Administration and Operation error when creating new area for SharePoint 2003 Portal

Shane Young

The only thing I would mention here is did you do an iisreset after copying over the new site definition And can you list for me the files you moved Did you get the webtemp*.xml for your custom definition also

Shane





Re: SharePoint - Setup, Upgrade, Administration and Operation error when creating new area for SharePoint 2003 Portal

Shane Bishop

I did do an IISRESET after moving the files.

Because of the scenario, I have existing sites based off of the existing site defitions, I created new site definitions for every folder under C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033.

The specific one that I'm trying to get to work right now is a copy of the SPS folder.

Like I said earlier, the exact same files work in my testing environment.
It has everything under it that was under the original SPS folder from my testing environment.
The only files within the site definition that I've modified are the default.aspx and XML\Onenet.xml.

I did move the webtempl*.xml files for the custom definitions as well.
The site definitions are listed in the list of site definitions to choose when I am expecting them to be.





Re: SharePoint - Setup, Upgrade, Administration and Operation error when creating new area for SharePoint 2003 Portal

Shane Bishop

Just to close this post out. The reason the site definitions weren't working is that when the files for the site definitions were copied, some files became corrupt.

It was very difficult to diagnose because the file(s) looked like it was there and even looked like it was the right size, but a few files were either missing important bits of data on the end of the file or they were all gibberish inside.

This was one of the hardest things to track down, but I just wanted everyone to know what had caused it.