Tuesday, September 27, 2005

C# Escaping

example:

path = @"c:\MyApp\MyFils";

Thursday, September 15, 2005

spcontnt.aspx

Don't forget spcontnt is your key for 'web part' error resolution

Submitted By: Riwut Libinuko, Plasmedia
Posted On: 1/13/2005

Overall Rating: 3 (1 ratings, 1 comments)


Description:
Eventough webpart is very powerfull, but debuging web part is painfull. For example, you forget to put try-catch block in your code - and one day you get error without any clue to edit. Or imagine, you're creating on-the-fly graph web part, and send wrong HTML header to the page. Causing Sharepoint page shows image only and no interface to access.

What should we do ?

Remember that Sharepoint has spcontnt.aspx - an interface to edit web farm content,

http://[YOURSITES/_layouts/1033/spcontnt.aspx?&url=[FULLYENCODED_WEBFARMPAGE]

Change [YOURSITES] to url of your site, and [FULLYENCODED_WEBFARMPAGE] to url to your web farm.aspx page.

Then, close the offending web part.

Wednesday, September 14, 2005

Compiler Error Message: CS0006: Metadata file

Resolution that is working so far however if this starts happening again I will let everyone know.

I saved my solution. Shut down VS.NET deleted the temp folder: 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net\files\wow
Reset IIS.

Seems to have cleared up for now.



"Moojjoo" wrote:

> Has anybody else ever seen this problem and know how to resolve it?
>
> Sometimes my app will load and debug other times I get the following:
>
> Compilation Error
> Description: An error occurred during the compilation of a resource required
> to service this request. Please review the following specific error details
> and modify your source code appropriately.
>
> Compiler Error Message: CS0006: Metadata file
> 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\wow\7a057e9f\806dc5a7\assembly\dl2\da5089d2\a8835932_a2b8c501\rjrt.wow.rules.dll' could not be found
>
> Source Error:
>
>
>
> [No relevant source lines]
>
>
> Source File: Line: 0
>
>
>

Monday, September 12, 2005

Moving a Solution you are developing from one server to another

When moving your sites from one server to another be sure to update all you references to your server. The best way that I found for doing this was using a find and replace.

Two files that make a big difference are the AppID.csproj.webinfo and AppID.sln files