having error on live

Posted by Ankit_Parmar555 under ASP.NET on 4/17/2012 | Points: 10 | Views : 1215 | Status : [Member] | Replies : 15
my site is working fine on my local machine.
recently i transfer it on live but there it is giving error like this : Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Please help.....




Responses

Posted by: Kk86kiran on: 4/17/2012 [Member] Starter | Points: 25

Up
0
Down
In which version of visual studio you used for development of your web site?

k.m.j.kiran

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankit_Parmar555 on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
i developed using framework 4.0


Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kk86kiran on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
Ok If you are using 4.0, you should change some settings in web.config file. In web.config file there is a tag in that target framework option is available so change that to 3.5. by default it is 4.0 for framework 4.0. Try this

k.m.j.kiran

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dotnetrajanikanth on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
http://forums.asp.net/t/1491204.aspx/1

____________
www.flickr.com/photos/psdesigner/

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dotnetrajanikanth on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
http://www.roelvanlisdonk.nl/?p=1772

____________
www.flickr.com/photos/psdesigner/

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunny4989 on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
This kind of error appears when AppPool is set to 2.0 and the target framework is to 4.0

Create a new pool by selecting .Net Framework v4.0.3xxxxx

use the Manage Pipeline Mode: Integrated

Assign it to your site and done.


------------------------------------------------
Learn throughout life

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankit_Parmar555 on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
yes Sunny4989
but i have only c panel details.
in c panel how to do that. ?

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: GSM_GSV on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
check this site
http://forums.asp.net/t/1742418.aspx/1

---------------------------------------
Live the life you've dreamed

Regards
MADHU

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: GSM_GSV on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
Register .NET framework 4.0 with IIS by running the aspnet_regiis.exe
Path: C:\Windows\Microsoft.NET\Framework\v4.0.30319

More Info
http://stackoverflow.com/questions/7530725/unrecognized-attribute-targetframework-note-that-attribute-names-are-case-sen

---------------------------------------
Live the life you've dreamed

Regards
MADHU

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankit_Parmar555 on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
yes i can do that but i'm talking about live server.
for that i don't have rights for that.

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: GSM_GSV on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
ok..Then you need to contact site administrator only and switch AppPool to 4.0

---------------------------------------
Live the life you've dreamed

Regards
MADHU

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankit_Parmar555 on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
ok sure.

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: GSM_GSV on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
Always mark the post as resolved if you have satisfaction with the answer, so that others can gain benefit.

---------------------------------------
Live the life you've dreamed

Regards
MADHU

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Campusrecruitment on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
SEO and SEM are basically the same, SEO is optimizing pages for the search engines and SEM is marketing the pages for the search engines. The same goes for SMM and SMO just with social media sites instead of normal sites and search engines. That's as basic as I can put it lol.


http://www.campusrecruitments.com/Bank/bankpapers.html

[url=http://www.campusrecruitments.com/Bank/bankpapers.html]Bank Exams Papers[/url]

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: GSM_GSV on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Campusrecruitment,

Don't misguide others by posting irrelevant answer


---------------------------------------
Live the life you've dreamed

Regards
MADHU

Ankit_Parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response