CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




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: 2/23/2007 2:03:45 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 59 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"Dave _ M" <>
NewsGroup User
SqlCommand and NUMERIC_ROUNDABORT problem2/23/2007 2:03:45 AM

0

I am getting the following error.

System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Exception: System.Data.SqlClient.SqlException: UPDATE failed because the following SET options have incorrect settings: 'NUMERIC_ROUNDABORT'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or query notifications and/or xml data type methods.

 

I have tried the following ...

 

1. SELECT DATABASEPROPERTYEX('[myDatabase]', 'IsNumericRoundAbortEnabled').  This returns a value of 0 (zero).
2. sp_dboption '[myDatabase]', 'NUMERIC_ROUNDABORT'.   This returns the following

OptionName              CurrentSetting
----------------                  --------------
numeric roundabort   OFF

 

3. I have added the following after the begin statement in my sp.

 

SET NOCOUNT ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
SET ARITHABORT OFF
SET CONCAT_NULL_YIELDS_NULL ON
SET QUOTED_IDENTIFIER ON

SET NUMERIC_ROUNDABORT OFF

 

5. The part that gets confusing is that when I add oSqlCmd.CommandText = "SET NUMERIC_ROUNDABORT OFF" to my code it works.  I thought that the default value for NUMERIC_ROUNDABORT is OFF.  Also if I run the same update statement as a query in SQL 2005 it works without any errors.

 

Please help.  I am trying to avoid adding oSqlCmd.CommandText = "SET NUMERIC_ROUNDABORT OFF" before every call to the db.

"Dave _ M" <>
NewsGroup User
Re: SqlCommand and NUMERIC_ROUNDABORT problem2/27/2007 9:31:14 PM

0

I have solved the problem, however; I am still confused. It turns out there is a property at the server level (SQL 2005) that needed to be set to off for NUMERIC_ROUNDABORT. Why wouldn't the setting at the view level take affect?
"Dave _ M" <>
NewsGroup User
Re: SqlCommand and NUMERIC_ROUNDABORT problem2/27/2007 9:34:33 PM

0

I have solved the problem, however; I am still confused. It turns out there is a property at the server level (SQL 2005) that needed to be set to off for NUMERIC_ROUNDABORT. Why wouldn't the setting at the view level take affect?
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:













option strict in designer.vb files

can i use wap and web sites together?

debugging asp.net - virtualpath on vs2005 webserver

possible bug?

web deployment project outputs too many files from web application project

wap, typed datasets, and web.config connection strings

easy one - app_code

add ins disappeared

combining wdp with wap

command window

problem after renaming aspnetdb

error add controls in to wap

documents security on website

web application project and convert to web application menu option doesn't exist

setting protocol for a wsdl web reference?

problem with controls registered in web.config

how to parse wikipedia xml

user control libraries - interesting use of generics and proxy user controls

web.config parsing error in web app projects with iis

the perfect css layout

install "update to support web application projects" error

vbcrlf does not start a new line in asp.net 2.0.

edit code behind without recompiling.

build from the command line

publish ignores web deployment projects?

xml documentation for designer.cs

automatic publishing of wap

sampling/instrumentation on web project

custom control assembly references not resolved correctly

re-building error

web application handle many users

referencing root path when debugging in vs

getting path to physical directory?

using msbuild with web application projects

"external component has thrown an exception" error when adding a reference

web application project and web deployment project

web application projects and vs2005 service pack 1 beta

problem with profilecommon

conversion problems

problem with deployment

error bc30451 with vbc : name application is not declared

remembering website password

unable to complete web application projects install

absolute paths hardcoded in web application projects

having problems with the designer file

web site projects?

web application: cannot find definition of class methods

master page fails to load after conversion to wap

updade to vs2005 sp1 causes existing wap project file to become invalid. wap project type not recognized

web application projects add-in for german version of vs 2005

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT