Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Apparent issues with ASP.NET 4.0 and VS 2010

Apparent issues with ASP.NET 4.0 and VS 2010

Scheduled Pinned Locked Moved ASP.NET
csharpvisual-studiohelpasp-netcom
13 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Talal Sultan
    wrote on last edited by
    #1

    Hi people, Sorry if this isn't the right place to post this. I have posted my message already in the Visual Studio forum but still didn't get any answer. I also posted it in asp.net forums and in MSDN forums and still nothing. I have also searched the web without much success. I am hoping someone here can help me figure out what is going on. Here is the link to my post in the VS forums: http://www.codeproject.com/Messages/3573698/Issues-with-VS-2010-editor.aspx[^] I would like to add that I have the same Visual Studio 2010 Premium edition installed on two PCs, one is working well and the other is having the issue mentionned above. I would appreciate any insight or suggestion about this crazy matter. Thanks, Talal

    -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

    R E 3 Replies Last reply
    0
    • T Talal Sultan

      Hi people, Sorry if this isn't the right place to post this. I have posted my message already in the Visual Studio forum but still didn't get any answer. I also posted it in asp.net forums and in MSDN forums and still nothing. I have also searched the web without much success. I am hoping someone here can help me figure out what is going on. Here is the link to my post in the VS forums: http://www.codeproject.com/Messages/3573698/Issues-with-VS-2010-editor.aspx[^] I would like to add that I have the same Visual Studio 2010 Premium edition installed on two PCs, one is working well and the other is having the issue mentionned above. I would appreciate any insight or suggestion about this crazy matter. Thanks, Talal

      -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      Do not cross-post: if you didn't get an answer the first time it's because no one has the answer or doesn't want to answer: all that happens now is that you are very unlikely to get the answer.

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      1 Reply Last reply
      0
      • T Talal Sultan

        Hi people, Sorry if this isn't the right place to post this. I have posted my message already in the Visual Studio forum but still didn't get any answer. I also posted it in asp.net forums and in MSDN forums and still nothing. I have also searched the web without much success. I am hoping someone here can help me figure out what is going on. Here is the link to my post in the VS forums: http://www.codeproject.com/Messages/3573698/Issues-with-VS-2010-editor.aspx[^] I would like to add that I have the same Visual Studio 2010 Premium edition installed on two PCs, one is working well and the other is having the issue mentionned above. I would appreciate any insight or suggestion about this crazy matter. Thanks, Talal

        -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

        E Offline
        E Offline
        Eaverae
        wrote on last edited by
        #3

        Anyway I think I know what the problem is.. in HTML edit mode, check which doctype it's targetting. It's a dropdownlist next to the buttons to comment things. So be sure to target the correct doctype. hope this helps

        "My personality is not represented by my hometown."

        T 1 Reply Last reply
        0
        • E Eaverae

          Anyway I think I know what the problem is.. in HTML edit mode, check which doctype it's targetting. It's a dropdownlist next to the buttons to comment things. So be sure to target the correct doctype. hope this helps

          "My personality is not represented by my hometown."

          T Offline
          T Offline
          Talal Sultan
          wrote on last edited by
          #4

          Thanks for replying, is this the target validation schema validation you're talking about or is there another dropdown that I need to find? Talal

          -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

          E 1 Reply Last reply
          0
          • T Talal Sultan

            Thanks for replying, is this the target validation schema validation you're talking about or is there another dropdown that I need to find? Talal

            -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

            E Offline
            E Offline
            Eaverae
            wrote on last edited by
            #5

            that's indeed the dropdown I'm referring to (wasn't sure about the name; didn't have VS open at the time)

            "My personality is not represented by my hometown."

            1 Reply Last reply
            0
            • T Talal Sultan

              Hi people, Sorry if this isn't the right place to post this. I have posted my message already in the Visual Studio forum but still didn't get any answer. I also posted it in asp.net forums and in MSDN forums and still nothing. I have also searched the web without much success. I am hoping someone here can help me figure out what is going on. Here is the link to my post in the VS forums: http://www.codeproject.com/Messages/3573698/Issues-with-VS-2010-editor.aspx[^] I would like to add that I have the same Visual Studio 2010 Premium edition installed on two PCs, one is working well and the other is having the issue mentionned above. I would appreciate any insight or suggestion about this crazy matter. Thanks, Talal

              -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

              E Offline
              E Offline
              Eaverae
              wrote on last edited by
              #6

              IS this still an issue? ;) just wanted to know if you've figured it out by now (perhaps a re-install of Visual Studio / your PC will be sufficient ;))

              "My personality is not represented by my hometown."

              T 1 Reply Last reply
              0
              • E Eaverae

                IS this still an issue? ;) just wanted to know if you've figured it out by now (perhaps a re-install of Visual Studio / your PC will be sufficient ;))

                "My personality is not represented by my hometown."

                T Offline
                T Offline
                Talal Sultan
                wrote on last edited by
                #7

                Hi :) Well, it's my PC at home that is causing me problems. Here at work VS2010 is doing well. I have removed it from my PC at home, in fact I have restored the Norton Ghost image of a clean Windows install. Do you think this could be the issue? The ghost image has a few things installed like VS 2008, SQL 2005, Office 2007 and some other things. Unfortunately I didn't have time to reinstall VS 2010 yet (as you know, it takes ages :zzz: ) I will keep you updated with what happens when I do install it :) Yesterday, I have tried what you suggested with the validation stuff. I wanted to see if I could get the same behavior like what I was getting at home but I didn't get that. I don't think it's due to the doctype because when I switch the target framework to 3.5 the problem disappears (with the same solution). It is quite frustrating honestly as apart from you, I didn't get any reply to any of my posts at asp.net or msdn. Like if nobody encountered that problem before! :sigh: The only difference I see with what I have in the office is that I have installed SQL server 2008 before installing VS 2010 here, but I really doubt it could be the issue. Anyway, as you said, it could just be a matter of reinstalling it. Once I do reinstall, I'll let you know what I get :) Thanks again! Talal

                -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

                E 1 Reply Last reply
                0
                • T Talal Sultan

                  Hi :) Well, it's my PC at home that is causing me problems. Here at work VS2010 is doing well. I have removed it from my PC at home, in fact I have restored the Norton Ghost image of a clean Windows install. Do you think this could be the issue? The ghost image has a few things installed like VS 2008, SQL 2005, Office 2007 and some other things. Unfortunately I didn't have time to reinstall VS 2010 yet (as you know, it takes ages :zzz: ) I will keep you updated with what happens when I do install it :) Yesterday, I have tried what you suggested with the validation stuff. I wanted to see if I could get the same behavior like what I was getting at home but I didn't get that. I don't think it's due to the doctype because when I switch the target framework to 3.5 the problem disappears (with the same solution). It is quite frustrating honestly as apart from you, I didn't get any reply to any of my posts at asp.net or msdn. Like if nobody encountered that problem before! :sigh: The only difference I see with what I have in the office is that I have installed SQL server 2008 before installing VS 2010 here, but I really doubt it could be the issue. Anyway, as you said, it could just be a matter of reinstalling it. Once I do reinstall, I'll let you know what I get :) Thanks again! Talal

                  -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

                  E Offline
                  E Offline
                  Eaverae
                  wrote on last edited by
                  #8

                  Yeah I know how answering a question sometimes can be difficult for some people. Instead of directly answering the question, precious time is spent by saying how it's not in a correct format :P Nonetheless, questions should be posted in a correct format though. ;) Anyway, what my suggestion is: try to create a virtual environment to do all of your coding. A solution like VMWare[^] or Virtual PC[^]could save you a lot of headaches. I always work in a Hyper-V setting, which also provides functions to save and revert back to snapshots. This way you can guarantee yourself of having a clean install of your workstation every time. The only thing you'll have to do is save your files on a remote storage device. The chance of something happening that will screw your configuration up is very slim that way. Nevertheless, I'm looking forward to the cause of your issue was. Good luck!

                  "My personality is not represented by my hometown."

                  T 2 Replies Last reply
                  0
                  • E Eaverae

                    Yeah I know how answering a question sometimes can be difficult for some people. Instead of directly answering the question, precious time is spent by saying how it's not in a correct format :P Nonetheless, questions should be posted in a correct format though. ;) Anyway, what my suggestion is: try to create a virtual environment to do all of your coding. A solution like VMWare[^] or Virtual PC[^]could save you a lot of headaches. I always work in a Hyper-V setting, which also provides functions to save and revert back to snapshots. This way you can guarantee yourself of having a clean install of your workstation every time. The only thing you'll have to do is save your files on a remote storage device. The chance of something happening that will screw your configuration up is very slim that way. Nevertheless, I'm looking forward to the cause of your issue was. Good luck!

                    "My personality is not represented by my hometown."

                    T Offline
                    T Offline
                    Talal Sultan
                    wrote on last edited by
                    #9

                    Well, the major issue is that VS 2010 takes a lot of time to install anyway, but I could actually try using Virtual PC and see if it helps me :) Now you won't believe what I just discovered now...just now :doh: I was playing a bit with VS 2010 here at work and I am also having a weird behavior but not as weird as what I had at home :sigh: Anyway, here is what I have noticed. I opened a .aspx page. By default, as you know, it opens in HTML editing mode. So I clicked inside a button tag. Guess what?? in the properties windows, it says: Button1 . Then, in the fields below, I have the proper fields displayed like CausesValidation, CommandName, etc...Note that I DON'T have the events button. Now, I click on Split to split the editor into design and editor mode. I click around the HTML code a bit and then on that same button tag and in the properties now I have Button1 System.Web.UI.WebControls.Button and now I have the events button. Now going back to Source (HTML edit), again I have Button1 !!! :confused: As I recall, I wasn't having that behavior at home, it was always Button1 and I don't remember I was able to get the correct property displayed. As I said before, I will install again and see what happens, but now I know that something is definately not right in this VS 2010 :-D

                    -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

                    E 1 Reply Last reply
                    0
                    • T Talal Sultan

                      Well, the major issue is that VS 2010 takes a lot of time to install anyway, but I could actually try using Virtual PC and see if it helps me :) Now you won't believe what I just discovered now...just now :doh: I was playing a bit with VS 2010 here at work and I am also having a weird behavior but not as weird as what I had at home :sigh: Anyway, here is what I have noticed. I opened a .aspx page. By default, as you know, it opens in HTML editing mode. So I clicked inside a button tag. Guess what?? in the properties windows, it says: Button1 . Then, in the fields below, I have the proper fields displayed like CausesValidation, CommandName, etc...Note that I DON'T have the events button. Now, I click on Split to split the editor into design and editor mode. I click around the HTML code a bit and then on that same button tag and in the properties now I have Button1 System.Web.UI.WebControls.Button and now I have the events button. Now going back to Source (HTML edit), again I have Button1 !!! :confused: As I recall, I wasn't having that behavior at home, it was always Button1 and I don't remember I was able to get the correct property displayed. As I said before, I will install again and see what happens, but now I know that something is definately not right in this VS 2010 :-D

                      -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

                      E Offline
                      E Offline
                      Eaverae
                      wrote on last edited by
                      #10

                      What happens if you just ignore this behavior, and just continue coding? ;)

                      "My personality is not represented by my hometown."

                      T 1 Reply Last reply
                      0
                      • E Eaverae

                        What happens if you just ignore this behavior, and just continue coding? ;)

                        "My personality is not represented by my hometown."

                        T Offline
                        T Offline
                        Talal Sultan
                        wrote on last edited by
                        #11

                        aaargh X| well it works well in fact, I was just trying some things and it doesn't have an impact on compilation nor on execution. So we can very well live with it. One thing that differs between what I have here and what I have at home is the fact that at home I have this green wave-like line under the name of the web controls, e.g. Button. I don't have that here. But even at home it compiles well, however AJAX wasn't working, meaning when I click, nothing happens on the page. Whereas here, AJAX works. I'm telling you, this VS 2010 is haunted :omg: :-D If I can get things to work at home as they are working now in the office, I would be happy, even if it's not perfect :sigh: ;P

                        -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

                        1 Reply Last reply
                        0
                        • E Eaverae

                          Yeah I know how answering a question sometimes can be difficult for some people. Instead of directly answering the question, precious time is spent by saying how it's not in a correct format :P Nonetheless, questions should be posted in a correct format though. ;) Anyway, what my suggestion is: try to create a virtual environment to do all of your coding. A solution like VMWare[^] or Virtual PC[^]could save you a lot of headaches. I always work in a Hyper-V setting, which also provides functions to save and revert back to snapshots. This way you can guarantee yourself of having a clean install of your workstation every time. The only thing you'll have to do is save your files on a remote storage device. The chance of something happening that will screw your configuration up is very slim that way. Nevertheless, I'm looking forward to the cause of your issue was. Good luck!

                          "My personality is not represented by my hometown."

                          T Offline
                          T Offline
                          Talal Sultan
                          wrote on last edited by
                          #12

                          Hi, I have reinstalled VS 2010 on my home PC and now it works! :) The difference between this PC configuration and the previous one was that I have installed VS 2005 in this one prior to installing VS 2010 and I didn't upgrade to IE8. I have a feeling it could be IE8 installation that is causing the problem. In any case, here at work I had IE7 and VS 2005 installed when I installed VS 2010 and it worked, so with the same configuration now it worked on my home PC :) Although there are still of course other differences in terms of software installed like for example Telerik components and SQL 2008. Nevertheless it is working now and AJAX also worked, so I am happy :)

                          -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

                          E 1 Reply Last reply
                          0
                          • T Talal Sultan

                            Hi, I have reinstalled VS 2010 on my home PC and now it works! :) The difference between this PC configuration and the previous one was that I have installed VS 2005 in this one prior to installing VS 2010 and I didn't upgrade to IE8. I have a feeling it could be IE8 installation that is causing the problem. In any case, here at work I had IE7 and VS 2005 installed when I installed VS 2010 and it worked, so with the same configuration now it worked on my home PC :) Although there are still of course other differences in terms of software installed like for example Telerik components and SQL 2008. Nevertheless it is working now and AJAX also worked, so I am happy :)

                            -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

                            E Offline
                            E Offline
                            Eaverae
                            wrote on last edited by
                            #13

                            So, I finally caught up with all of my e-mails after my 3 week holiday ;) I'm glad to see that everything worked out ;) If you have any more trouble, please don't hesitate to contact me ;)

                            "My personality is not represented by my hometown."

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups