|
This is really strange.
ok back up your App_Code and delete everything there. Build your Project , you will obviously get Errors and copy back the backup contents. Don't copy the folder copy only the contents and built it again and see if this line appears again
Building directory '/App_Code/'.: Publication (web): Object reference not set to an instance of an object.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I've not tried that yet - I will add it to the list of things to try. I'm currently seeing what it does if I build it in Debug mode (seeing as it seemed to think already it was in debug mode, when I thought I'd set it to release)
|
|
|
|
|
I had such Problems before. now i dont change it , i leave it with "Release"
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
That used to happen when the root folder of the website was '/' (rather than the default website name). Try changing the root folder (properties on web site project) and see if it works. If that's the problem, there was probably a hotfix or something for it (?)
|
|
|
|
|
I suggest you try this: http://www.integrationpractices.com/post/2010/02/17/Publication-(web)-Object-reference-not-set-to-an-instance-of-an-object.aspx
It perfectly worked for me.
|
|
|
|
|
Hi,
I am making a form in asp.net 3.5 which will send an email to the recipient
Initially I was using system.web.mail
as it is obvious whenever you send an email to some recipient a display name appears instead
of the email id of the sender
consider:
mail_sender=mail@gmail.com
display_name="my name"
in my case instead of the display_name "mail" the initial portion of the sender's email id is coming
but it is desired that "my name" should appear in the recipient's inbox.
due to this I had to switch to system.net.mail
but there also same problem occurs.
I have tried googling on this issue too, but still no help.
Any help shall be appreciated !
Thanks
Shankbond
|
|
|
|
|
Hi all
I am using login control of asp.net 2.0 for login.
if the login succeeds then menu.aspx page open
1. Now my problem is to check on menu page is the user logined in or not??
2. if yes how to logout the user.
3. how to give user access ??
4. how to hide login view control on master page on access.aspx page
thanks in advance
jagwinder
One person's data is another person's program.
--J.Walia
|
|
|
|
|
Have you read the documentation ? Why is the login control on your master page at all ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
CG is right, make a separate page for Login Control and definitely read documentation.
|
|
|
|
|
i said i put login view on master not login control....
i hope u understand this time
One person's data is another person's program.
--J.Walia
|
|
|
|
|
OK - so, you hide it by setting it's visibility. I'm not sure what the issue is.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
how we can hide a control of master page in run time.
One person's data is another person's program.
--J.Walia
|
|
|
|
|
Use .Master property. You can get MasterPage from this property and then use FindControl() method to cast Login View. Then you can make the control invisible.
|
|
|
|
|
J walia wrote: 1. Now my problem is to check on menu page is the user logined in or not??
Use Authentication Section in Web.Config. User will only be able to access menu.aspx if he/she is logged in.
J walia wrote: 2. if yes how to logout the user.
Use LoginStatus control, it shows a link which displays "Login" if user is not loggedin and "Logout" if user is loggedin. If used click on "Logout" he will be logged out.
J walia wrote: 3. how to give user access ??
I am not clear, what you want here.
J walia wrote: 4. how to hide login view control on master page on access.aspx page
After successful login, make it invisible and make it visible after logout.
|
|
|
|
|
Hi Coders,
I connected database server through Server explorer in dotnet3.5.I give Server IP/Username/Password and select database.It gives me "Test connection successfully" message but when i click over OK button it shows me error message "Key not for use in specified state".and i'm unable to create sql connection with server.Any help would be appreciated.
Thanks in advance
Amit Gautam
9953933396
|
|
|
|
|
Did you google the error message ? Can you connect with Management Studio ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Yes I did but its not related with my problem.
Amit Gautam
|
|
|
|
|
|
Hello one and all,
I need a small requirement. I am developing an application with calendar on my from. What i need is i would like to display the holidays on the particular day itself. Like on January 1st it should show New year and for December 25th Christmas like that. I write a code but it's displaying only for that year. How to make it count for every year. Please help...
Dorababu
|
|
|
|
|
|
By changing your code so that it checks every year and not just the current year.
Did you really expect a detailed answer on how to fix code you didn't bother to show us ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hii
i want to add shoping cart fuctionality to my website where login is compulsary to use the cart.
M workin on asp.net 2.0 using csharp.Can anybody help me regarding this.Is there any gud link which can guide me.thnk's...
|
|
|
|
|
|
It sounds like you don't have a clue what you're doing. You should consider buying an existing cart.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hii i have got all the tutorial about creating the cart addind the product to cart etc......
but my problem is that i want all this thing after the user logs in...can u guide me.....
|
|
|
|