Asp.Net Set Medium trust in local

By mahingupta on Aug 01 2010 | 0 Comments

My almost all  web sites are hosted on goDaddy shared medium trust hosting.It is always painful to get things running on medium trust environment after got it running on your development environment.

But now you can set medium trust environment on your local machine and check every functionality there only.

You need to add following configuration in your web.config

<system.web>
    <trust level="Medium" />
</system.web>
Now you can test your application as if it is running under Medium Trust environment.
 

Post info

Tags:
Categories: Asp.Net , TechTips , goDaddy

BugTracker.Net : Add attachment gives you invlaid id

By mahingupta on Feb 25 2010 | 0 Comments

Hi, We are using BugTracker.net to Track Bugs ;)

It has fairly almost all features one need to track issues related to development and above all its free. Highly recommended after using it for almost 1 year.

We were facing a strange bug in it from quite a few time.

Whenever we try to add attachment to issue, it always failed with message “invalid id”.

After a bit of Google, we found following solution here :

In add_attachment.aspx. file remove attribute action=add_attachment.aspx from the form tag.

ie

Change :

<form class=frm runat="server" enctype="multipart/form-data" action=add_attachment.aspx  >

To :

<form class=frm runat="server" enctype="multipart/form-data" >

 

Happy Bug Tracking :)

Post info

Tags:

svn : Can not Parse lock / entries hashfile

By mahingupta on Dec 04 2009 | 0 Comments


Recently we moved our svn repositories from one URL to other. I don't remember exactly what happened, but we started to get error

“svn : Can not Parse lock / entries hashfile “

whenever we try to take lock or release any lock from on any file in that repository. I have tried a hell lot to solve this problem, but I was not able to solve it in a clean manner.

So I have decided to take reset all the locks and asked on StackOverflow to help me. I received answer from Ben Blank and I followed his advise. I have manually release all locks from repository by Deleting <root>/db/locks folder. And all the locks were reset again.

Caution : Make sure you take backup of your repositories before doing such things.

Technorati Tags:

Post info

Tags:
Categories: Asp.Net , TechTips , Subversion