Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: bschaldon
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution June 2nd, 2004, 10:57 AM
Replies: 2
Views: 3,906
Posted By bschaldon
I assume you mean you want to change the string...

I assume you mean you want to change the string presentation - the default is 4 decimal places, since that is the absolute resolution of the money type. You need to perform your own string conversion...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution May 20th, 2004, 03:15 AM
Replies: 6
Views: 4,234
Posted By bschaldon
I guess this is a matter of opinion, but I never...

I guess this is a matter of opinion, but I never write SP code that I expect to raise an error under normal operating conditions. Return codes are useful as just that - a way of returning a value to...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution May 18th, 2004, 03:23 AM
Replies: 6
Views: 4,234
Posted By bschaldon
A couple of points here: 1. Whan an error...

A couple of points here:
1. Whan an error occurs in SQL Server you can't suppress it - it occurs whether or not your SP code detects @@ERROR. But in many cases, depending on the error, the SP will...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution May 4th, 2004, 03:08 AM
Replies: 2
Views: 2,196
Posted By bschaldon
Also: Aqua DataStudio from...

Also: Aqua DataStudio from http://www.aquafold.com/



brian
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution April 23rd, 2004, 03:48 AM
Replies: 8
Views: 3,099
Posted By bschaldon
No way, Jose. ASP.Net only runs on IIS, and XP...

No way, Jose. ASP.Net only runs on IIS, and XP Home does not have it. There is an open source port project for .net called Mono, which might mean that you could get some of it to work on Apache but...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution April 15th, 2004, 09:31 AM
Replies: 3
Views: 2,173
Posted By bschaldon
Looks like a security issue - the ASPNET account...

Looks like a security issue - the ASPNET account must have rights to the Event log

brian
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution April 6th, 2004, 05:15 AM
Replies: 2
Views: 1,410
Posted By bschaldon
It's one way, so it can't be done unless you also...

It's one way, so it can't be done unless you also store the unencrypted password.

brian
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution April 5th, 2004, 04:07 AM
Replies: 3
Views: 1,535
Posted By bschaldon
What's the name of your SQL Server? ...

What's the name of your SQL Server?
server=CHARUL\NetSDK indicates a named instance NetSDK on machine CHARUL. Unless you only installed MSDE as part of the Visual Studio Setup then this is probably...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution April 5th, 2004, 04:02 AM
Replies: 9
Views: 23,420
Posted By bschaldon
Error Message: Login failed for user 'sa'....

Error Message: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.

Says it all really. Your SQL Server is not configured for SQL login access. Open up...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution April 3rd, 2004, 06:01 AM
Replies: 2
Views: 2,530
Posted By bschaldon
This issue is a perennial point of discussion for...

This issue is a perennial point of discussion for .net developers. If you want a fully OO solution then custom objects will give you that, at the cost of having to write much more code - although...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution March 30th, 2004, 04:55 AM
Replies: 7
Views: 3,631
Posted By bschaldon
But the module config files have a .config...

But the module config files have a .config extension - it is the file extension that is screened by IIS. So they are no less safe than web.config.

brian
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution March 30th, 2004, 04:50 AM
Replies: 6
Views: 8,058
Posted By bschaldon
I quickly realised that querying the db every...

I quickly realised that querying the db every page was not supportable, and stored the Identity data in the Session cache in the Login code.
Context.Session["UserInfo"] = principal.Identity ;


...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution January 2nd, 2004, 12:56 PM
Replies: 4
Views: 960
Posted By bschaldon
MSDE is a free download from Microsoft. The...

MSDE is a free download from Microsoft. The Developer edition of SQL Server can be bought for $40-50 - see "Purchasing SQL Server" thread in this forum..

brian

brian
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution January 2nd, 2004, 12:19 PM
Replies: 4
Views: 960
Posted By bschaldon
The database connection strings are in the module...

The database connection strings are in the module config files
in <wwwroot>\ThePhile\Config

I guess you could use the ODBC provider, but you'll also have to change the Base DbObject class to work...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution December 24th, 2003, 05:25 AM
Replies: 2
Views: 2,238
Posted By bschaldon
Assuming this data comes from SQL Server, why...

Assuming this data comes from SQL Server, why don't you just fix the query? A simple CASE in the SELECT statement can give you an extra column:
SELECT CASE WHEN news_imageurl is null THEN 0 else 1...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution December 17th, 2003, 12:46 PM
Replies: 2
Views: 1,543
Posted By bschaldon
Yep, it's a mistake. There ought to be a unique...

Yep, it's a mistake. There ought to be a unique index on the email column, in which case the 2601 will occur.
(Error 2601 is "Cannot insert duplicate key row.."
Error 2627 is "Violation of PRIMARY...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution December 10th, 2003, 08:35 AM
Replies: 6
Views: 1,073
Posted By bschaldon
You can use MSDE - it's free. brian

You can use MSDE - it's free.

brian
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution November 27th, 2003, 06:12 AM
Replies: 3
Views: 1,179
Posted By bschaldon
I think you'll find it's a warning, not an error....

I think you'll find it's a warning, not an error. The 1.1 framework now 'prefers' you use a Transform method with an XmlResolver.
Add an extra parameter after writer of New XmlUrlResolver()


...
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution November 18th, 2003, 06:09 AM
Replies: 5
Views: 1,547
Posted By bschaldon
The FileAccess.Read trick solved the problem for...

The FileAccess.Read trick solved the problem for me. But it leaves the question of how the SaveSettings operation is going to work (if there was any UI to drive it).

brian
Forum: BOOK: ASP.NET Website Programming Problem-Design-Solution November 17th, 2003, 09:30 AM
Replies: 5
Views: 1,547
Posted By bschaldon
I too get the Access Denied error, but I didn't...

I too get the Access Denied error, but I didn't use to get it under the 1.0 framework, so I wonder if this is related to 1.1.
I suspect it's something to do with the .config file extension, but how...
Showing results 1 to 20 of 20

 


All times are GMT -4. The time now is 02:03 AM.


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