Results 1 to 2 of 2

Thread: aspcompat = true

  1. #1
    Join Date
    Oct 2005
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default aspcompat = true

    Hello,

    I am trying to use the following line:-

    <% @Page Language="VB" aspcompat=true %>

    But i get this error:-
    --------------------
    Description: An error occurred during the parsing of a resource required to service
    this request. Please review the following specific parse error details
    and modify your source file appropriately.

    Parser Error Message: The current trust level does not allow use of the 'AspCompat' attribute
    ---------------------------------------------

    Can i change the trust level to allow it to work ?

    I am new to this .net lark so sorry in advance if i am being a bit thick.




  2. #2
    Join Date
    Dec 2008
    Posts
    14
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    Wow, that takes me back...

    That flag is only used to aid in converting the original asp to asp.net - it would be easier to start your pages from scratch in my opinion, as 'upscaling' them brings its own problems.

    Are you trying to convert an old asp website to asp.net?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Now I am very confused which one is true DNS record.
    By HostCan in forum General Technical Support
    Replies: 2
    Last Post: 24th December 2005, 08:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •