CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 10/21/2007 12:48:09 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 28 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
"Sunwapta" <>
NewsGroup User
WebApp project and WebResource.axd issue10/21/2007 12:48:09 AM

0

My old assembly with embedded JavaScript, CSS, and images used to work with WebSite projects, but returns empty with WebApp project. Anyone knows what is wrong? Has something has to be done differently with WebApp project? Thanks.

PS: response comes ok (200) when used fiddler to monitor.
 

"david wendelke
NewsGroup User
Re: WebApp project and WebResource.axd issue10/21/2007 2:11:45 AM

0

  1. Did you verify that you have references to the resources in our AssemblyInfo class?
  2. Did you verify that the BuildAction property for those resources is set to Embedded?

 


If this answered your question, be sure to mark it as the answer. That way, everybody after you will know it's the answer also!
"Sunwapta" <>
NewsGroup User
Re: WebApp project and WebResource.axd issue10/21/2007 2:44:20 AM

0

David,

if you read the question carefully, you will find answers to you questions - the assembly worked just fine with WebSite project type. Once I switched to WebApp project type the assembly stopped sending back the embedded resources. This is why I suspect it's something with the WebApp.

 Sean 

"david wendelke
NewsGroup User
Re: WebApp project and WebResource.axd issue10/21/2007 3:23:13 AM

0

I did read it carefully!  I just did not make an assumption that the conversion from one project type to another caused no unwanted side effects, particularly since you described unwanted side effects. :)


If this answered your question, be sure to mark it as the answer. That way, everybody after you will know it's the answer also!
"Sunwapta" <>
NewsGroup User
Re: WebApp project and WebResource.axd issue10/21/2007 5:16:44 AM

0

I owe you an apology - finally figured out what has happened... I run ReSharper on the entire code to clean things and accidentally  "fixed" namespaces. Unfortunately that did not take case of the values in AssemblyInfo fle :( So again - apologies and thanks!

Sean

PS: Stubborn - yes, but recognize when wrong :) 

"david wendelke
NewsGroup User
Re: WebApp project and WebResource.axd issue10/21/2007 5:52:41 AM

0

No problem!  

It was the simplest possible explanation for the symptoms and the simplest, fastest thing to check.    I always like to double-check the easy things when I'm stumped - it's usually something that I forgot and assumed I had done. 


If this answered your question, be sure to mark it as the answer. That way, everybody after you will know it's the answer also!
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:













bug?: opening global.asax in design view

importing individual web forms and user controls from a web site

problem converting vs2005 web site to vs2005 web application

using snmp in asp.net2005

sos

want web application project for vs2005 beta2

error : string is longer than 255 character !

insert image in listbox ..

http 500 - internal server error - when an aspx file in a sub folder is accessed.

f7 to switch from aspx "source" to c# codebehind - doesn't work?

can not find typename of objectdatasource???

.cs files not getting compiled after converting from website. bug?

constant problems with generation of designer file

atlas and wap

migration issue or ... ?

using web application projects with objectdatasource

problem when deleting file

web application: cannot find definition of class methods

internet explorer does not load any pages since running asp.net developer server

custom control assembly references not resolved correctly

wap 1.0?

form authentication on html pages not working (live)

desperate need of help - "attempted to read or write protected memory"

event handler creation fails when class contains overloaded methods

web.config - pagebasetype, usercontrolbasetype, masterpagefile, ...

problem with deployment

generator of designer file failed

updates will not install!

controls not visible in run mode

wap and assembly generation

designer being oddly generated...

custom type won't work in profile properties

release candidate - not sure how to interpret that. :-)

why are event handlers wired up in the aspx/ascx page?

wap, typed datasets, and web.config connection strings

access page controls from class

clean install of sp1, can't open web app projects

wsdl.exe throws stack overflow exception

problems with aspx pages in web application project

integrate/combine web application projects with web site project

tell me where dll file is created

proble with web prolfile generator

right click "convert to web application" does not add both designer and code behind to source control.

installation problem

reformatting html in vs.2005

wap and c# namespace of typed (declarative) dataset problem

how to store a usercontrol's position

constants file in app_globalresources directory changes do not appear without compilation.

how to access a class function from global.asax on vs 2005 web application???

runtime error

   
  Privacy | Contact Us
All Times Are GMT