This project is read-only.

Search error on web host

Topics: User Forum
Oct 23, 2007 at 10:18 PM
Hi, I am trying to get it running on my web host. Everything works except when I click "Search",
You can see the error message here: http://www.tl-mix.se/Search.aspx

Everything runs OK on my local machine.

/Jocke
Oct 24, 2007 at 2:54 PM
Edited Oct 24, 2007 at 2:55 PM
Hi Jocke
It seams like a cache problem.
Try to get your webhost to restart your application.
It releases the compiled files and makes the site to compile a new version.
Oct 25, 2007 at 1:22 PM


rickardmagnusson wrote:
Hi Jocke
It seams like a cache problem.
Try to get your webhost to restart your application.
It releases the compiled files and makes the site to compile a new version.


Thanks for your reply Richard.
The web host Binero.se has restarted the application, but it didn't solve the issue.
For asp.net 2 they have Medium Trust, but I think this CMS application is supposed to work under Medium Trust.
To solve this right now, I will remove the Search button in the Skin file,
but it would be nice to have that feature working.

/Jocke
Nov 12, 2007 at 12:19 PM
I have the same error on my localhost. I can't see when is trigered because sometimes it's work. I have wipe out the .net temporary folder, but it's not enough.
Nov 12, 2007 at 12:30 PM
It seems to me that it occures when I deploy the application in several sites. I have a "skeleton" application (let's say c:\inetpub\wwroot\WebSite) that I publish with visual studio in several locations: c:\intepub\wwwroot\site1 c:\intepub\wwwroot\site2 and so on (for having several sites with diferent content). In WebSite, search works fine but in published sites it raise the cache related error.
Apr 24, 2008 at 3:47 PM


rickardmagnusson wrote:
Hi Jocke
It seams like a cache problem.
Try to get your webhost to restart your application.
It releases the compiled files and makes the site to compile a new version.


I have exactly the same problem. I can't understand your solution. You mean IIS restart? I need the answer immediately, any help will be cure for me. Thanks.
Apr 24, 2008 at 5:41 PM


manyaq wrote:


rickardmagnusson wrote:
Hi Jocke
It seams like a cache problem.
Try to get your webhost to restart your application.
It releases the compiled files and makes the site to compile a new version.


I have exactly the same problem. I can't understand your solution. You mean IIS restart? I need the answer immediately, any help will be cure for me. Thanks.


Have you extended the CMS in any way?
Apr 25, 2008 at 6:46 AM


rickardmagnusson wrote:


manyaq wrote:


rickardmagnusson wrote:
Hi Jocke
It seams like a cache problem.
Try to get your webhost to restart your application.
It releases the compiled files and makes the site to compile a new version.


I have exactly the same problem. I can't understand your solution. You mean IIS restart? I need the answer immediately, any help will be cure for me. Thanks.


Have you extended the CMS in any way?


No, it's original. Directly I published the project.
Apr 25, 2008 at 10:21 AM
Hi kja
it seems as if the search class occurs twice in your application, if you like, you can send me your whole application folder, so I can analyze it:
info@mwpsk.com

best regards,
webeasy
Apr 25, 2008 at 12:42 PM
I solved it. I think there where a class named Search allready exist on the host domain. Maybe another domain's Search class. I refactored the Search.aspx's codebehind class' name to MySearch and everything is ok now.
Apr 25, 2008 at 12:53 PM
ok nice to hear that !

Best regards,
webeasy