Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #21 (permalink)  
Old April 13th, 2010, 09:51 AM
Friend of Wrox
Points: 752, Level: 10
Points: 752, Level: 10 Points: 752, Level: 10 Points: 752, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Default

I am using Management studio and using the credentials provided by host providers to login into the server. And I am following the steps given in appendix but I got the errors as I mentioned in last post.
Now what should I do to proceed???
  #22 (permalink)  
Old April 13th, 2010, 12:39 PM
Friend of Wrox
Points: 752, Level: 10
Points: 752, Level: 10 Points: 752, Level: 10 Points: 752, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Default

Hello,
I am using Management studio and using the credentials provided by host providers to login into the server. And I am following the steps given in appendix but I got the errors as I mentioned in last post.
Now what should I do to proceed???

Also when I executed the schema then it was successfully executed. My database on local server contained the Diagram also in database diagrams folder so they must also be there in the production database. But when I click on this folder in production database then it throws an error which says that

Code:
TITLE: Microsoft SQL Server Management Studio Express
------------------------------

A member of the db_owner role must use the database diagramming functionality in order to setup the required database diagramming objects on the SQL Server.
is it any other kind of problem or it will affect the functionality. If this is also a problem then what is the process to resolve it.
Thank you.
  #23 (permalink)  
Old April 13th, 2010, 01:32 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Three words: Ask Your Host.

Like I said, it looks like your account doesn't have the permissions to do what you're doing. You can posts messages here in this board for ever, but only your host can tell you what to do, where and how, whether it's something they support and whether or not you can this yourself or have to let them do it.

If you want to understand why you're getting these error messages, paste them, enclosed in quotes, in a Google window. Nine out of ten times you get blogs or forum posts describing the problem in detail.

It's not that I don't want to help you, but it just doesn't make sense to try while your host can do this for you in minutes (or at least most hosts can).

Cheers.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
  #24 (permalink)  
Old April 16th, 2010, 11:14 AM
Friend of Wrox
Points: 752, Level: 10
Points: 752, Level: 10 Points: 752, Level: 10 Points: 752, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Default

Hello,
I talked my host provider and they have set the permissions for me. Although when I see the roles under security then I don't see any check box checked for those which start with "aspnet_", but I do not get the EXECUTE permission is required also.

But when I run the page then I get now the following error.
Code:
The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'.  However, the current database schema is not compatible with this version.  You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.
I have generated the script from within visual studio 2008 for MS SQL 2005.
why I am getting this error now and how it can be recovered it?
  #25 (permalink)  
Old April 16th, 2010, 11:21 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Google is your friend: http://www.google.com/#hl=en&source=...10401dfb0a78c2

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
  #26 (permalink)  
Old April 16th, 2010, 11:55 AM
Friend of Wrox
Points: 752, Level: 10
Points: 752, Level: 10 Points: 752, Level: 10 Points: 752, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Default

hi, I looked at different posts. All suggest to use the aspnet_regsql.exe tool as the solution, but I have 2 ques. that You might also had fallen in the same issue when working with aspnet tables, did you sir?
and second is that if i use the tool and generate the schema then would it be possible to add the more tables and stored procedures in the same database?

Thank you
  #27 (permalink)  
Old April 16th, 2010, 12:35 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Take a look at the first hit from the list of search results on Google: http://forums.asp.net/p/985097/1267872.aspx

I think your schema is fine, but the tables are missing the data.....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
  #28 (permalink)  
Old April 16th, 2010, 12:39 PM
Friend of Wrox
Points: 752, Level: 10
Points: 752, Level: 10 Points: 752, Level: 10 Points: 752, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Default

what you think, can it be generated manually and if yes then how the values and column can be added manually???
I think this is the last issue with my data base, so please help me as you have been doing since my joining of the forum
Many thanks
  #29 (permalink)  
Old April 16th, 2010, 12:41 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Sure. Just look at the post I referred to and enter that data into your table manually. You probably need your hosts control panel to enter the data somehow.

Why don't you try it out instead of asking if it works? Then you know if it works right away.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
  #30 (permalink)  
Old April 19th, 2010, 12:38 AM
Friend of Wrox
Points: 752, Level: 10
Points: 752, Level: 10 Points: 752, Level: 10 Points: 752, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow Setting Servers

Hello,
Finally they provided me databases of 2005 types and I tested it, it was working.
But now I am trying to set the email account of type info@<domain name>
However in web.config file I have been using my gmail account for email purpose, like this

Code:
<appSettings>
        <add key="MailFromAddress" value="me@myprovider.com"/>
        <add key="MailToAddress" value="me@myprovider.com"/>
</appSettings>
And
Code:
<smtp from="Jack &lt;me@provider.com&gt;" deliveryMethod="Network">
      <network host="smtp.gmail.com" userName="me" password="<password>" port="587"/>
</smtp>
And it works fine in production environment also but when I replace it with email Id like info@<domain name> and relative info (password and smtp server) then I do not receive any email.
They provided me information
POP server: pop32r.cp.365techsupport.com (incoming server)
IMAP server: imap3r.cp.365techsupport.com (incoming server)
SMTP server: smtp1r.cp.365techsupport.com (outgoing server)

Sir, how I can set up emails with so many servers????
Thank you.
__________________
Jack: Founder, Developer & Owner Of JackAndGenieForever.Com




Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing files with parameters online Lioness ASP.NET 1.0 and 1.1 Professional 0 March 8th, 2006 05:29 AM
SP - executing error filipczako SQL Language 3 December 12th, 2005 10:50 AM
Executing script automatically every half an hour saads90 Pro JSP 0 November 9th, 2005 10:20 AM
Client Side script for executing an aspx page Sujith Manuel VBScript 1 November 9th, 2004 06:48 AM
calling and executing files lucid Oracle 2 April 5th, 2004 02:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.