CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.classifieds_starter_kit Tags:
Item Type: NewsGroup Date Entered: 7/1/2007 2:06:37 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 12 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
cabplace
Asp.Net User
Hosting issues7/1/2007 2:06:37 PM

0/0

I have found a host server, and uploaded website. But there are some issues.

Because I have only one database in host server, I add aspnetdb.mdf to my hostserver, and then run 'classfied-add.sql' to add database Classfied into the same database.

And I changed my web.config in host server as following.

 <connectionStrings>
  <add name="classifiedsConnection" connectionString="Data Source=******;Initial Catalog=******;User ID=******;Password=******;Trusted_Connection=False" providerName="System.Data.SqlClient=" />
    <remove name="LocalSqlServer"/>
    <add name="LocalSqlServer" connectionString="Server=******;Database=******;User ID=******;Password=******;Trusted_Connection=False" providerName="System.Data.SqlClient" />

 </connectionStrings>
 

Now the website is working. I could register new account. But When I try to post an Ad, there are errors as following:

Server Error in '/' Application.

Cannot insert the value NULL into column 'Id', table 'SQLserver.dbo.classifieds_Ads'; column does not allow nulls. INSERT fails.
The statement has been terminated.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'Id', table SQLserver.dbo.classifieds_Ads'; column does not allow nulls. INSERT fails.
The statement has been terminated.

Source Error:

Line 2055:            Dim returnValue As Object
Line 2056:            Try 
Line 2057:                returnValue = command.ExecuteScalar
Line 2058:            Finally
Line 2059:                If (previousConnectionState = System.Data.ConnectionState.Closed) Then


And when I check the tables in database, I find that there is new account information in table aspnet_Membership, but not in table classfieds_Members.

I am new to ASP programming. Could anyone explain to me about this issues?

Many thanks

 

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Starting & Running a Successful Newsletter Or Magazine Authors: Cheryl Woodard, Pages: 455, Published: 2006
Developer's Guide to Web Application Security: A Guide for Developers and Penetration Testers Authors: Michael Cross, Pages: 489, Published: 2007
Podcasting Bible Authors: Mitch Ratcliffe, Steve Mack, Pages: 570, Published: 2007
Ultimate Guide to Search Engine Optimization: Drive Traffic, Boost Conversion Rates and Make Lots of Money Authors: Jon Rognerud, Pages: 240, Published: 2008
Professional Search Engine Optimization with PHP: A Developer's Guide to SEO Authors: Jaimie Sirovich, Cristian Darie, Pages: 360, Published: 2007
Hack Proofing Your Web Applications: The Only Way to Stop a Hacker Is to Think Like One Authors: Julie Traxler, Chris Broomes, Inc Books24x7, Pages: 512, Published: 2001
Microsoft SQL Server 2005 Notification Services Authors: Shyam Pather, Pages: 698, Published: 2006
IP Addressing Fundamentals Authors: Mark A. Sportack, Pages: 338, Published: 2002
Identity Theft Authors: John R. Vacca, Pages: 475, Published: 2003

Web:
Web Hosting Issues (thesitewizard.com) Articles on choosing a web host, criteria to use, reviews of web hosts, etc.
Hosting Issues and SEO - Search Engine Watch (SEW) Sep 16, 2008 ... When it comes to server issues, many of us would rather not get into the down- and-dirty details. But knowing the basics of server response ...
IIS / Windows Hosting Issues IIS / Windows Hosting Issues. ... Lets see how good MODx is on Windows 2003 Hosting!! One Year Free · awardle, 5, 1151, Last post Apr 09, 2008, 03:25 AM ...
Hosting Issues - WebProWorld Hosting Issues - This forum deals with various web hosting issues that Webmasters deal with. Everyone is encouraged to share thier ideas and concerns.
Hosting Issues » Kezins We’re currently having major hosting issues and wanted to apologize for the fact that we’ve been offline for several days. It took us nearly three days to ...
GMapEZ -- News & Discussion Sun, 26 Aug 2007Hosting issues. For a few months this summer, my hosting company was charging me quite a bit extra every month for bandwidth overages. ...
Server Hosting Issues - FileFront Gaming Forums Ok heres the problem: I need to host a server, but I cant. My ISP comcast sends a pulse through their network which disables servers and ...
JSPWiki: Go Daddy Hosting Issues Hi Micheal How you moved your logs to SQL - I am having extreme problems in configuring log4 J on shared linux hosting of GoDaddy. ...
GameSpy Hosting Issues - Tech Support Guy Forums Hey all, I have a LinkSys wireless router WRT45G and I have two machines on it sharing a DSL connection. Recently I have been attempting to ...
DNS hosting issues - Web Hosting Talk - The largest, most ... DNS hosting issues Shared web hosting tutorials that can help get your website up and running on any hosting platforms.

Videos:
How to fix your starcraft hosting problems EDIT: Sorry about the terrible audio, i didn't know the correct settings when i recorded this ages ago. (its on like 4bit mono lol) I'll make an upd...
Video Blog #0007 - Hosting Troubles Had to take the garbage out to the street, so I figured I'd talk about the GoDaddy Hosting issues that took place today over DST.
Brad Baker - Joomla Hosting Melbourne Joomladay 08 - Feb 2 2008 Presentation by Brad Baker talking about issues to consider when selecting a hosting service provider for a Joom...
Michael Killen - SOA Bus Issues/ Sun Microsystems Tony Willis challenges Michael Killen to explain why Michael says SOA is the most important enterprise IT development of our time and every executive...
CaR: Robbers Unite Episode 8 Looks Familiar. Stephen teleports to Guacamala. Meanwhile, Johnny tells Trey a story full of love, betrayal, adventure and copy write infringement ...
Enterprise Hosting Solution New Media Gateway provides its customers with mission critical application hosting services that meet or exceed the highest standards within the indu...
Charlie Rose - Women's Health Issues / Tyler Perry Segment 1: Guest Host Robert Bazell of NBC discusses the latest in women's health issues with Frances Visco of the National Breast Cancer Coalition, ...
Fight Night 82 - Technical Issues Edition Video for the 82nd Fight Night event on the Vitue server of City of Heroes. With thanks to all participants, and special thanks to Wonderslug for ho...
Obama's Flip Flops: Who Is Barack Obama?? Barack Obama IN HIS OWN WORDS. Who Obama CLAIMS he is and who he ACTUALLY is are two different things. OPEN CHALLENGE to any Obama supporter: Have t...
WHIR TV | Web Host Industry Video News | Sept 17th, 2005 WHIR TV is an engaging online broadcast featuring the latest news and trends from the Web hosting world.




Search This Site:










custom module, no print output?

dnn 3.1.x enhancement suggestion - add option to make dnn roles "hidden\private"

vs2008 installation/setup failed with return code: 1625

how to manipulate an excel file from server?

tools, modules etc...

how do i accomplish this

login roles

ajax.net in a custom module : some kinda security problem

dnn 3.0.4 - skins & containers - temp f ix

commit & command.executenonquery()

community severed... again...

can't tell why it's redirecting so much with my asp.net web app.

problems with a dropdownlist and wrong value added to database.

big question

install project problem

asp.net and vb using w3c standards

how to personalize the password recovery email's message?

web part connection

i've been looking at this for too long - menu issue

authorization problem after upgrade to 2.0

asp.net dropdownlist - "cannot have multiple items selected in a dropdownlist."

asp.net version 1.1 not raning why?

table width, height setting is not working.

example of creating profiles for other users.

need help with comparing 2 labels

search form in vb.net

how do i configure visual studio 2008 that uses asp 3.5 to generate 2.0 asp project files

sending schedule emails

i'm trying to build a blog builder , what is the best way to make multi style to the blogs?

class in app_code

 
All Times Are GMT