Unknow Error

Sep 3, 2009 at 4:20 PM

When I click in Shart generate URL, show the "Unknow Error"

In logs directory I found this:

09/03/2009 13:01:44.37  w3wp.exe (0x1308)                        0x16DC Windows SharePoint Services    General                        72kg High     #20015: Cannot open "liebrandurlshortener.en-US.resx": no such file or folder. 
09/03/2009 13:01:44.37  w3wp.exe (0x1308)                        0x16DC Windows SharePoint Services    General                        72kg High     (#2: Cannot open "liebrandurlshortener.en-US.resx": no such file or folder.) 
09/03/2009 13:01:44.37  w3wp.exe (0x1308)                        0x16DC Windows SharePoint Services    General                        8e26 Medium   Failed to open the language resource keyfile liebrandurlshortener.

Coordinator
Sep 3, 2009 at 4:24 PM

Doolivei,

I forgot to include the en-US.rex version of the resource file. This is a quick fix and I'll get it taken care of this weekend. For now though, you can simply go to the 12\RESOURCES folder and copy the liebrandurlshortener.resx file to liebrandurlshortener.en-US.resx and it should take care of it.

Thanks,

Paul Liebrand

Coordinator
Sep 3, 2009 at 4:27 PM

If you still get an unknown error after making this change, turn off custom errors in the web.config and see what the actual error is you are getting and report back.

Thanks,

Paul Liebrand

Sep 3, 2009 at 7:15 PM

Hi pliebrand,

Thanks for your response, very fast!

But this is problem very stranger, because I changed my webconfig for <customErrors mode="Off"/> and still appears the same error.

I think that page /Liebrand.UrlShortener/GenerateItem.aspx, not executing in webapp.

In my test environment its ok, perfect. I dont understand

 

Sep 3, 2009 at 7:54 PM

w3wp.exe (0x1F94)                        0x1964 Windows SharePoint Services    General                        8nca Verbose  Application error when access /_layouts/Liebrand.UrlShortener/GenerateItem.aspx, Error=The resource object with key 'PageTitle' was not found.   at System.Web.Compilation.ResourceExpressionBuilder.ParseExpression(String expression, Type propertyType, ExpressionBuilderContext context)     at System.Web.UI.BoundPropertyEntry.ParseExpression(ExpressionBuilderContext context)     at System.Web.UI.ControlBuilder.FillUpBoundPropertyEntry(BoundPropertyEntry entry, String name)     at System.Web.UI.ControlBuilder.AddBoundProperty(String filter, String name, String expressionPrefix, String expression, ExpressionBuilder expressionBuilder, Object parsedExpressionData, Boolean generated, String fieldName, String formatString, Boolean twoWayBound)     at System.Web.UI.ControlBuilder.PreprocessAttribute...

Coordinator
Sep 3, 2009 at 8:10 PM

It almost appears the feature was not deployed successfully.  Attempt to run the following STSADM command on the server with the problem:

stsadm -o copyappbincontent

And then test it again.

We will get this figured out.

Sep 3, 2009 at 8:35 PM
Perfect!!!
Its ok now..
thank you very much.
Coordinator
Sep 3, 2009 at 10:06 PM

I'd be kind of interested to know why it did not work the feature activation way.  Seems kind of odd.  But at least you are up and running and are finding the SharePoint URL Shortener useful.

Sep 4, 2009 at 6:59 AM

doolivei, are you deploying this on a single farm with DC?  I had similar issues when I installed it on a test image which is a single farm with DC.  I realized my error and installed on the correct test system without any issues.

Sep 4, 2009 at 1:45 PM

Cotto,

First, I installed on Test Enviroment Sharepoint, that have 1 Server with DC , the deployment was sucessfull.

When I was installed in Production Enviroment, that have 3 Servers Front-End, the deployment was not sucessfull, but I tryed with command stsadm -o copyappbincontent after deployment, then sucess.

I think the problem is deployment in enviroment with 2 or more Servers Front-end, I dont know...

 

Pliedbrand,

This solution is very usefull.

I found another problem, In some lists or libraries, When I click in Item -> Generate Short Url

Show this error:

List does not exist
The page you selected contains a list that does not exist.  It may have been deleted by another user.

 But, When click in Generate Short Url in Top Link in My login proprieties, work in all Libraries and lists.

 
Sorry with my problems.

 

Coordinator
Sep 4, 2009 at 2:26 PM

Please do not be sorry.  This is valuable feedback to make this solution better.

In the other problem you are having (List does not exist) can you provide me any additional input to the types of lists they are and how they are configured so I can attempt to duplicate the problem and get it fixed?

Thanks,

Paul

Sep 4, 2009 at 3:25 PM

Hi Again,

List Type: Discussion Board

In same Webapplication Main Site

Its Work:
http://sjkts221/Lists/Team%20Discussion/AllItems.aspx
http://sjkts221/_layouts/Liebrand.UrlShortener/GenerateItem.aspx?List={DDDA29DB-E247-4412-B4D1-38F3CC032157}&ItemId=5&Source=http://sjkts221/Lists/Team%20Discussion/AllItems.aspx

 

List Type: Discussion Board

In same Webapplication subsite

http://sjkts221/Ind_Comite/Lists/Discussao%20em%20Equipe/AllItems.aspx
http://sjkts221/_layouts/Liebrand.UrlShortener/GenerateItem.aspx?List={C5083FDE-D00F-40CD-82FC-627C5835CDEE}&ItemId=1&Source=http://sjkts221/Ind_Comite/Lists/Discussao%20em%20Equipe/AllItems.aspx

Debug Error:

List does not exist

The page you selected contains a list that does not exist.  It may have been deleted by another user.   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)
   at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)

 

 In Database:

List Proprieties:

03655893-883e-4935-8af4-b443dd750ddf c5083fde-d00f-40cd-82fc-627c5835cdee doolivei 7/20/2009 7:00:30 PM 9/4/2009 3:20:42 PM 7/20/2009 7:00:30 PM 0 7/20/2009 7:00:30 PM 1 20 0 00bfea71-6a49-43fa-b535-d15c05500108 108 3de0e061-503e-43a4-9c68-0d07738e31ee NULL /_layouts/images/itdisc.gif 1 2 False 0 541069312 NULL NULL NULL 1 2 Use esta lista de Discussão em Equipe para manter discussões, como um grupo de notícias, sobre tópicos relevantes à sua equipe. NULL NULL NULL <Binary data> e3e3752f-4c72-48a6-8293-07adeb3feb87 False False NULL NULL NULL 0 12.0.0.6421.0.0<FieldRef Name="ContentTypeId"/><FieldRef Name="Title" ColName="nvarchar1"/><FieldRef Name="_ModerationComments" ColName="ntext1"/><FieldRef Name="File_x0020_Type" ColName="nvarchar2"/><FieldRef Name="Body" ColName="ntext2"/><FieldRef Name="TrimmedBody" ColName="ntext3"/><FieldRef Name="DiscussionLastUpdated" ColName="datetime1"/><FieldRef Name="MessageId" ColName="nvarchar3"/><FieldRef Name="ThreadTopic" ColName="nvarchar4"/><FieldRef Name="EmailReferences" ColName="ntext4"/><FieldRef Name="RelevantMessages" ColName="ntext5"/><FieldRef Name="ParentFolderId" ColName="int1"/><FieldRef Name="ShortestThreadIndex" ColName="ntext6"/><FieldRef Name="ShortestThreadIndexId" ColName="nvarchar5"/><FieldRef Name="EmailSender" ColName="ntext7"/> <ContentTypeRef ID="0x01200200AF8A98B0105E2B49B244651AE01E5243"><Folder TargetName="Discussion"/></ContentTypeRef><ContentTypeRef ID="0x0107008455031FBB221D49BB828F65FAFA8B1C"><Folder TargetName="Message"/></ContentTypeRef><ContentType ID="0x0107"/><ContentType ID="0x012002"/> NULL NULL NULL 0 NULL NULL NULL NULL

Item Proprieties

1 c5083fde-d00f-40cd-82fc-627c5835cdee 5199ebe0-2fe0-48fd-bdb6-f70a78529210 0 1 1 1 9/4/2009 3:12:03 PM 9/4/2009 3:12:03 PM NULL <Binary data> False 0 True 100 NULL 84878161-9792-411a-8f06-045f05f63dbc NULL NULL NULL NULL 244 1 NULL Ind_Comite/Lists/Discussao em Equipe fsfsf <Binary data> Discussão <Binary data> fsfsf NULL NULL NULL NULL NULL NULL NULL NULL <div><div>fsdfsdfsd</div></div> NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 9/4/2009 3:12:03 PM NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1 True 512 0 1.0 NULL NULL

 

 

Coordinator
Sep 4, 2009 at 3:32 PM

Ok - I can duplicate it (or a similar problem). I'll get this fixed this weekend.

 

Thanks,

Paul Liebrand

Coordinator
Sep 5, 2009 at 5:45 PM

I believe I have resolved this issue.  Please grab the 1.0.1 release and give it a try.

Thanks,

Paul Liebrand

Sep 8, 2009 at 10:59 AM

Paul,

I tested and all problems fixed.

The people liked this solution here in Brazil.

Thanks again.

Coordinator
Sep 8, 2009 at 3:34 PM

Great!  I am glad things worked out and you guys are liking the solution.

Paul Liebrand