LoadData in IE
Hi,
I'm trying to load XML dataset by dynamically setting the
Spry's setURL and using the Spry's loadData() . This is all being
triggered by an onclick event to a defined function.
The code:
function getPhotos(year){
alert(year);
dsl.setURL("includes/get_photos.php?year="+year);
dsl.loadData();
works perfect in FF
but doesnt seem to load nor throw any errors out in IE...
i'm currently working locally. What seems to be preventing IE
from loading and displaying the data?
Kendall
Hi Kendall,
What version of IE are you using? If you open up SpryData.js,
what version are you using? 1.4?
If you are using IE 7, it doesn't allow loading of file://
URLs via the XMLHttpRequest object. We've worked around that in
Spry Pre-Release 1.5 by forcing IE to use the ActiveX version of
the XMLHttpRequest object that IE6 used.
Another thing to check is to make sure you don't have
extraneous whitespace at the start of the XML file, before the XML
directive.
--== Kin ==--
Similar Messages
-
Adding Query String Parameters to Table loadData
I am new to ADF/JDeveloper, so hopefully this is a simple question...
I have created an ADF task flow containing a table of fake weather data. This data is loaded using a URL Service Data Control. The URL service takes a zip code as a querystring parameter and returns a CSV of weather data. All of this works fine when I create the data control, test the URL and add the table. However, right now I am hard coding the zip code into my loadData argument (where I submit the zip code).
What I want to do is read a querystring parameter from the JSPX page my task flow resides on and submit that zip code to loaddata in my bindings. When I write the EL that I think should do this (the same EL works when I put it in an outputText box), the task flow fails to load the correct zip code.
I have tried creating a backing bean and loading the data from there, but this doesn't seem to work either. So what is the "ADF way" to do this?
Here are my current bindings from the task flow page definition (see NDValue):
<bindings>
<methodAction id="loadData" RequiresUpdateModel="true" Action="invokeMethod"
MethodName="loadData" IsViewObjectMethod="false"
DataControl="ZipWeatherDC" InstanceName="ZipWeatherDC"
ReturnName="ZipWeatherDC.methodResults.loadData_ZipWeatherDC_loadData_result">
<NamedData NDName="zip"
NDValue="#{param.zipcode}" NDType="java.lang.String"/>
</methodAction>
<tree IterBinding="loadDataIterator" id="Return">
<nodeDefinition DefName="net.hross.adf.weather.model.ZipWeatherDC.loadData_Data">
<AttrNames>
<Item Value="dayOfWeek"/>
<Item Value="hiTemp"/>
<Item Value="lowTemp"/>
<Item Value="precip"/>
<Item Value="sky"/>
<Item Value="zipCode"/>
<Item Value="img"/>
</AttrNames>
</nodeDefinition>
</tree>
</bindings>
Thanks in advance for any advice!
RossOK. I typed the Name manually. But I neglected to hit the tab key twice to arrive at the Value input field.
Screenshot 1
After hitting tab key twice, value field is in focus and 2nd lightening bolt appears.
Gads! No wonder people mess this up.
Thanks, David. I appreciate your clarification.
Nancy O. -
How to make loadData() work in IE?
I use Spry 1.6.1 and IE8
I can’t make loadData() work in IE. I have searched the forum (and others), seen some hints based on headers in the <head> section, but none of them worked in my case :
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="cache-control" content="no-cache"/>
My HTML file displays a basic ds1 dataset constructed from an external xml file (with the option useCache : false), and a button calling a javascript function {ds1.loadData() ;} in order to refresh the display when the client wants to do so, as new childs can be added to the xml file through an other application.
The loadData() refresh from the server works fine in FireFox and Safari, not in IE where I run into the cache problem.
Is there today a solution to this?
Thanks for your help.Hello Arnout,
I have attached the html file in which is the dataset display that I'd like to refresh with loadData(), and the xml file.
At this point the xml file is static and you get to modify it manually in order to check whether the change is then reflected in the html display after the loadData() method is called with the button click.
It updates fine in FF and Safari, not in IE unless the client has manually cleared the navigation history (cache) before.
I'd suspect that the problem is not in SpryData.js, which is by the way a VERY NICE framework. However, unless there is an html or php fix, elegant or not, loadData() and the other methods using loadData(), such as setLoadInterval(), are useless if not working in IE, whoever is to blame.
Do you know of any fix?
Thanks for your support.
You can also view the html at http://grot.yud.neuf.fr/Paullaur/test.html
Paullaur -
Spry state to show a message for a failed dsMonth.loadData() action
Below is my code:
<script type="text/javascript">
var dsMonth = new
Spry.Data.XMLDataSet("DATA/2008/January.xml", "month");
function ds_setMonth(month){
dsMonth.setURL("DATA/2008/"+month+".xml");
dsMonth.loadData();
</script>
</head>
<body>
<input type="button" value="Set month to February"
onclick="ds_setMonth('February')" />
<div id="DataTable" spry:detailregion="dsMonth">
<div spry:repeat="dsMonth">{@id} {name}
{items}</div>
</div>
In case the file "DATA/2008/February.xml" doesn't exist, I
want the region <div id="DataTable"... that previously shows the
data from
"DATA/2008/January.xml" to turn out blank, and contain a
message "Data for February hasn't been updated yet". How can I do
this?
Thanks for all your helps.I should mention that in this sample I presumed the file
existed but didn't have any data.
<event>
<date>
</date>
</event>
If the is no file on the server, you can use the error state
to show it.
http://labs.adobe.com/technologies/spry/samples/data_region/RegionStatesSample.html -
Vista Gadgets and loaddata() problem?
I am trying to create a Windows Vista Gadget. Most of
everything seems to be working fine except when I try and change
the xmlDataSet.
The purpose of the gadget is to display a bunch of records
based on ids that are inputed through a settings page. The values
are saved and passed back to the main page, and an event is
triggered to update the main page. I can assign any javascript
function to the event. I have verified that the event is triggered
(via writing out the new ids that were saved in the settings page),
but the data in the table is not getting updated. I am changing the
xmlDataSet url with a different querystring parameter and I am
setting useCache: false for the dataset.
Here is a code sample:
<script type="text/javascript"
src="js/xpath.js"></script>
<script type="text/javascript"
src="js/SpryData.js"></script>
<script language="javascript" type="text/javascript">
System.Gadget.Flyout.onShow = flyoutShowing;
System.Gadget.Flyout.file = "flyout.htm";
System.Gadget.settingsUI = "settings.htm";
System.Gadget.onSettingsClosed = SettingsClosed;
//eventhandler
//init the dsEvents dataset
var dsEvents = new Spry.Data.XMLDataSet("
http://mypath/gadgetData.aspx?eventIDList=0",
"eventslist/event",{ method: "POST", postData: "", useCache: false
function setContentText() {
var EventIDs = System.Gadget.Settings.read("EventIDs");
if(EventIDs == ""){
document.getElementById("testarea").innerText = "data not
loaded";
}else{
dsEvents = new Spry.Data.XMLDataSet("
http://mypath/gadgetData.aspx?eventIDList="+EventIDs,
"eventslist/event",{ method: "POST", postData: "", useCache: false
dsEvents.loadData();
document.getElementById("testarea").innerText = EventIDs ;
return true;
//this function is called by the event handler
function SettingsClosed() {
setContentText();
</script>
I know the event handler is triggered because
document.getElementById("testarea").innerText = EventIDs ; sets the
div to the event ids.
Any help on this would be appreciated.Little rectangles usually indicate that the font has no glyph for the character, while un-decodable characters are displayed as question marks. Unfortunately, in the new fonts they came up with for Vista, I often see recatangles with with question marks inside them, and I still haven't figured out what they're supposed to mean. Let's see if we can eliminate encoding problems first. Run this on both platforms and see if they print the same thing: public class Test
public static void main(String... args)
System.out.println(java.nio.charset.Charset.defaultCharset());
} -
Prevent region rendering prior to LoadData()
How to prevent the region from rendering upon opening the page.
In your <script> block add:
Spry.Data.initRegionsOnLoad = false
This will stop Spry from initializing your regions.
But before your do a LoadData(). Make sure you
call:
Spry.Data.initRegions();
So your regions initialize. -
Differents Xpath filters and loadData() call
Hi, I set up a dataset which can be recalled by passing some
parameters to filter the returned records. Into the XML file there
are two node: 'orders' and 'filter_param', they are both at the
same level. To set up the dataset I write:
var dsOrdini = new
Spry.Data.XMLDataSet(XMLdataURL+"&func=XMLordersList"+dsOrdiniFilterStr,
"order_list/orders/order", { useCache: false });
var dsOrdiniFiltro = new Spry.Data.XMLDataSet(
XMLdataURL+"&func=XMLordersList"+dsOrdiniFilterStr,
"order_list/filter_params", { useCache: false });
tha records are called by a dataregion and by this code:
dsOrdini.url =
XMLdataURL+"&func=XMLordersList"+dsOrdiniFilterStr;
dsOrdiniFiltro.url =
XMLdataURL+"&func=XMLordersList"+dsOrdiniFilterStr;
dsOrdini.loadData();
dsOrdiniFiltro.loadData();
every time the client changes the filter's parameter
this all works! but I thought that this would have coused
only ONE call to the server for the data because the url string of
thetwo datasets are the same (are identical), the calls are TWO
instead, one for each dataset!!
could you please help me to understand where I am wrong??
In other words I need to create a dataset for one xpath
filter and another dataset for another xpath filter from the same
XML data!
I need also to use the directive { useCache: false } (without
this the spry frame sends only ONE call to the server ) because the
data on the server could change between different calls with the
same filter set)
Thank you a lot
CescohThank you for your reply and help. I am sorry for not making
things clear. I am new to spry so let me try again.
dsProducts loads the xml data from an api through getxml.cfm
proxy. dsRefineValue and dsOffer use the exact same xml data but
require different xpaths. What is the best method to get at the xml
data required for dsRefineValue and dsOffer? Do I set the file as
null for dsRefineValue and dsOffer and reload the same xml two more
times (This doesn't seem to be smart) with different xpaths, or is
there a way to get at the xml loaded from dsProducts?
How would I specifically call dsRefineValue and dsOffer?
var dsProducts = new
Spry.Data.XMLDataSet(null,null,{useCache:false});
????????? var dsOffer = new Spry.Data.XMLDataSet( ?
,"ProductSearch/Products/Product/Offer",{useCache:false});
????????? var dsRefineValue = new Spry.Data.XMLDataSet( ?
,"ProductSearch/Refinements/Refinement/RefineValue",{useCache:false});
Does this clear it up or am I being more confusing? -
Spry loadData with paged view problem
Ive created an "inbox" for information coming from a database
for different individuals. This is something that gets used
continueously by many people to manage the work flow process.
People can get new things in there inbox at anytime, so I made the
inbox non-cashed with a refresh interval. The problem is if the
person has used the paging to get to another page, the refresh
causes the paging to go pack to the first page. How can I prevent
this? This is like the last bug to deal with before we can go live
with the new spry version.
Thanks
GregAfter finding another post that wasn't exactly what I was
looking for I have come up with some code. However it doesn't work.
Basicly the page just gets realllllllllllllllllllllly laggy.
var dsInbox = new Spry.Data.XMLDataSet("url here",
"dataset/row", {useCashe:false, loadInterval:10000};
var pvInbox = new Spry.Data.PagedView(dsInbox,
{pageSize:20});
var pvInboxInfo = pvInbox.getPagingInfo();
pvInboxInfo.addObserver(resetPagedView);
var currentPageNumber;
function resetPagedView(notificationType, notifier, data) {
if ( notificationType == "onPreLoad" ) {
currentPageNumber = pvInbox.getCurrentPage();
if ( notificationType == "onPostLoad" ) {
pvInbox.goToPage(currentPageNumber);
pvInbox.preProcessData();
} -
Error Detail
Exception CX_DBA_ADBC in program RAGS_SISE_ACTIVITY_JOB line 0
Kernel Error ID:
WP ID: 23
WP PID: 28977
SYSID: CR5
SY-SUBRC: 0
SQL statement:
Database: CR5
caused by
Exception CX_SQL_EXCEPTION in class CL_SQL_STATEMENT
Kernel Error ID:
DB Error: Yes
SQL Code: 444-
SQL Message: SQL0444N Routine "*TASK_ADD" (specific name "SQL140704080729140") is implemented with code in library or path "...ib/function/SYSPROC.ADMIN_TASK_ADD", function "*" which cannot be accessed. Reason code: "4". SQLSTATE=42724 row=1
DB Object Exists: No
Duplicated Key: No
Internal Error: 1
Invalid Cursor: No
Unknown Connection: No
Connection Closed: No
System Detail:
Solman 7.1
ST 710 0010 SAPKITL710 SAP Solution Manager Tool
SAP_BASIS 702 0013 SAPKB70213 SAP Basis Component
Managed system:
SAP CRM ABAP 7.0
SAP_BASIS 701 0005 SAPKB70105 SAP Basis Component
SAP_ABA 701 0005 SAPKA70105 Cross-Application Component
PI_BASIS 701 0005 SAPK-70105INPIBASIS Basis Plug-In
ST-PI 2008_1_700 0008 SAPKITLRD8 SAP Solution Tools Plug-In
CRMLOY 700 0005 SAPK-70005INCRMLOY CRM Loyalty Management 700
SAP_BS_FND 701 0005 SAPK-70105INSAPBSFND SAP Business Suite Foundation
SAP_BW 701 0005 SAPKW70105 SAP Business Warehouse
LCAPPS 2005_700 0007 SAPKIBHD07 LC Applications (LCAPPS) 2005_700
Database DB2
db2level
DB21085I Instance "db2cr5" uses "64" bits and DB2 code release "SQL09016" with
level identifier "01070107".
Informational tokens are "DB2 v9.1.0.6", "s081007", "U817474", and Fix Pack
"6".
Activity detail:
We are performing managed system configuration for CRM into Solman by using solman_setup transaction. While performing the Database Extractor Setup in step 8 we have observed above error.
Action take at our end:
1. Clean the LMDB and restart the configuration. - no luck
2. Upgrade the hostagent at CRM - No luck
3. Update the SLD for CRM entry - no luck
4. implemented SAP notes:
875986 Note Assistant: Important notes for SAP_BASIS up to 702
1246964 Note Assistant: Master language of notes incorrect
1262653 SPAU: New object is deleted after note is reset
1309424 DB6: DBA Cockpit Correction Collection SAP Basis 7.01 / 7.11
1335017 DB6:"Remove Redundant Restrictions" can return wrong results
1349277 Note Assistant: Method cannot be implemented
1365677 Note Assistant: Runtime error MOVE_CAST_ERROR during implmtn
1372652 DB6: Short dump when viewing diaglog due to NULL bytes
1373957 DB6: CX_SY_CONVERSION_OVERFLOW in new EXPLAIN
1376543 DB6: OPTIONS parameters for backup jobs in DB13
1378499 DB6: CLI error CLI0112E with "REORGCK_ALL" job
1379260 DB6: Add BW query name as comment to SQL statements
1379346 DB6: Scheduling of data collectors fails
1381179 DB6: Incorrect values for 'number of objects in tablespace'
1382634 DB6: Unable to create view 'SAPTOOLS.DBH_TABCLASS'
1382996 DB6: Update of DPW Back-End in Monitored DBs does not work
1384238 DB6: Defect scheduler on DB2 9.1 FP7/FP8 for LUW on Linux
1387022 DBA Cockpit: Month displayed incorrectly in DB13C
1387297 DB6: SQL-Fehler 901 during RUNSTATS and REORGCHK
1397709 Ignore Dynpro element fields AGLT and ADEZ in SNOTE/CWB
1398258 DB6: Job REORGCK_ALL places load on package cache
1400843 DB6: Incorrect display of key fields in EXPLAIN
1412719 SNOTE: error when implementing enhancement implementations
1413008 DB6: SQL0206N in function module DB6_PM_LOCKSNAP
1414624 DB6: Performance views if database monitors are deactivated
1414626 DB6: Incorrect display of file system sizes of containers
1415680 Note Assistant: Incorrect status in subsequent systems
1421157 DB6: SQL error 204 when accessing table DBSTATC
1425487 SE24: Error regarding READ-ONLY for complex attributes
1426092 DB6: Incorrect DROPPED TABLE clause for tablespaces
1426480 DB2: Incorrect display of registry values for DPF systems
1427030 DB6: Container specifications for tablespaces not changeable
1429082 DB6: No REORG after deactivating compression
1429687 DB6: SQL cache performance
1438168 DB6: REORGCHK recommendations for indexes are missing
1444373 DB6: Loading the package cache with monitor functions
1449482 DB6: Error message 'Command LIST_DB2DUMP failed'
1451958 DBA Cockpit: Incorrect start time for jobs
1452197 DB6: SQL error 100 in job REORGCK_ALL
1452502 DBA Cockpit: Jobs are missing in central planning calendar
1455897 DB6: Display of data classes is not updated
1456379 DB6: No display of indexes in data classes
1460895 DB6: SQL0104N during creation of WLM threshold
1462415 DB6: SQL -444 error messages in system log
1462855 DB6: Incorrect database name in HA environment
1464800 DB6: SQL Commands executes automatically on system change
1464858 DB6: COMPUTE_BCD_OVERFLOW during EXPLAIN Test Execute
1469515 DB6: Runtime error GETWA_NOT_ASSIGNED_RANGE in SAPLSDB6MON
1485313 DBA Cockpit: Incomplete system entries after SLD import
1486972 DB6: Parameters for DB/DBM configuration cannot be changed
1489968 DBA: DBA Cockpit WebDynpro does not care about HTTPURLLOC
1496515 DB6: SQL error 1428N when starting the DBA Cockpit
1501130 DB6: SQL error 802 in DB6_DIAG_COUNT_TABLE_ENTRIES
1508074 RZ20: 'Connection' attribute does not report alerts
1509121 DBA Cockpit: Endless loop occurs when starting DBA Cockpit
1511803 DB6: DB_TABLE_DATA_READ does not return data
1521525 DB6: Table display is not sorted
1522617 DB6: Availability of BW-specific functions in DBA Cockpit
1532114 DB6: Too many locks when collecting table history
1536787 DBA Cockpit: WebDynpro Explain - LOADDATA requires a model
1542311 DB6: Runtime error BCD_OVERFLOW in auto maintenance display
1546866 DB6: Runstats_DBSTATC interprets runtime param. incorrectly
1551729 DB6: Incorrect number of key fields in EXPLAIN
1552812 DB6: Use of db2sap functions
1559699 DB6: Missing data in SQL cache display
1559967 DB6: SQL error 206 when collecting the table history
1563327 DB6: SQL error SQL0551N when accessing SYSSTAT.TABLES
1568800 DB6: Error when deleting alert messages
1569592 DB6: SQL error SQL0433N in EXPLAIN
1569669 DB6: Incomplete history for performance data
1571365 DB6: SQL error SQL0443N in alert monitoring of DPF system
1576094 DB6: Database error SQL1751N in partitioning wizard
1597281 DB6: Incorrect compression displays for tables
1599764 DB6: SQL error 1428 when calling transaction SM50
1602403 DB6: No VOLATILE attribute after RUNSTATS or REORG job
1613270 DB6: Runtime error DYNPRO_FIELD_CONVERSION in DBA cockpit
1615698 DBA Cockpit: Incorrect date selection in DB13C
1619084 DBA Cockpit: Runtime err MESSAGE_TYPE_X when alert displayed
1619636 DBA Cockpit: Daily scheduling is not deleted
1624436 DBA Cockpit: Errors when accessing SHM area CL_DBA_SHM_AREA
1639631 DBA Cockpit: Failed schedulings in DB13
1720495 Invalid deimplementation of obsolete notes by Snote tool
Kindly suggest the correct solution to fix the issue.Dear Deepak
Thanks for quick response.
Note 1462415 - DB6: SQL -444 error messages in system log ( SAP_BW 701 SP7 suggested)
This is already implemented and updated in my 1st message.
Note 978319 - DB6: Incorrectly cataloged table functions
This note can not be implemented due to version issue.
Kindly suggest some more hints on top of what I already did.
Regards
Bipin -
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
All,
I have a solution developed in Visual Studio 2012 targetting .Net 4.0. Simplified: Startup project is a WPF library and supporting this library is another project that uses Entity Framework to retrieve data. I have copied the connection strings from my EF project to my startup project, and everything seems to work fine on the development machine.
However, as sson as this project is run on a user's desktop they get the error:
System.ArgumentException
The specified store provider cannot be found in the configuration, or is not valid.
Stack trace (transcribed from screenshot, so there might be typos):
at.system.Data.EntityClient.EntityConnection.GetFactory(String providerString)
at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)
at System.Data.EntityClient.EntityConnection..ctor(String connectionString)
at System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)
at System.Data.Entity.Internal.,LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)
at System.Data.Entity.Internal.LazyInternalConnection.Initialize()
at System.Data.Entity.Internal.LazyInternalConnection.CreateObjectContextFromConnectionModel()
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
at System.Data.Entity.Internal.Linq.InternalSet` 1.Initialize()
at System.Data.Entity.Internal.Linq.InternalSet` 1.get_InternalContext()
at System.Data.Entiy.Infrastructure.DbQuery` 1.System.Linq.IQueryable.get_Provider()
at System.Linq.Queryable.Where[TSource](IQueryable` 1 source, Expression` 1 predicate)
at MyEntityNameSpace.MyEntitySet.LoadData()
I've already verified that Oracle.DataAccess is referenced in my EF project, and I'm including oci.dll, orannzsbb11.dll, oraociei11.dll, and OraOps11w.dll in my main library (fat installation).
This configuration worked when using the older ADO.Net DataSets, but now I want to use EF 4.4 (DataBase first/model first/whatever it's not Code First) because it's just easier to code against. So obviously I'm missing something when it comes to deploying my solution. Any ideas?
Note that this is a desktop application using MS OneClick.Same issue:
The specified store provider cannot be found in the configuration, or is not valid. ---> System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.
You mention "Sounds like the client system doesn't have an Oracle client installed."
I am using Win Server 2008 R2. I have installed what i think is the right client. How do i tell?
What is the right client? Where do i get it? -
Photo Gallery thumbnails in business catalyst render in different sizes in different browsers
Photo Gallery thumbnails in business catalyst render in different sizes in safari and chrome but are fine in firefox. What is the issue with Safari? I have tried the different algorithm options such as fill_proportional etc and firefox is the only browser that displays correctly. I thought safari was the most standards compatible browser - what's the problem here?
Hi,
If you have seperate XML file but with the same basic structure then you can change the XML a Spry dataset refers to and regenerate the spry region without reloading the full page.
So on my photo gallery page I can change the album the photos are shown from via the seturl sprydata function as below. dsPhotos being my Spry dataset that points to the relevant XML dataset with my image references and captions etc. My XML is actually dynamically generated from Picasa RSS feeds (and RSS feeds are XML) but the principle will be the same with your static XML.
First I add an event listener for when someone clicks on an album (the li tag within my div with the id "albums" holds a photo and title for each album.)
function Albums()
var myalbums = Spry.$$("#albums li", "TabbedPanels1")
var rows = dsAlbums.getData();
var setListener = function( element, value )
Spry.Utils.addEventListener( element, "click", function(){ showAlbum( value ); },false );
for( var i = 0, length = myalbums.length; i < length; i++ )
setListener( myalbums[i], i );
Then this is the code which changes the photo album to be shown. (when the user clicks the relevant album)
function showAlbum(i)
pauseShow();
pImage = 'No';
var rows = dsAlbums.getData();
var albumid = rows[i]["albumid"];
var url = "xml/PicasaAphotoFeed.asp?albumid=" + albumid;
dsPhotos.setURL(url);
dsPhotos.loadData();
var rowcount = dsAlbums.getRowCount() - 1;
var nextalbum;
var navnext;
var n;
The page is here www.thehmc.co.uk/photo5.html is you want to see it in context.
In your case showAlbum would switch between Frank.xml or Wolfie.xml depending on how you decide to name your xml datasets.
Regards
Phil -
Get Data from API which is hosted on local Machine
I am using VS2013 to develop a databound app in win phone 8. I hosted a api on IIS Express on local machine with IP. When i browse the API on browser is comes easily,But a error is coming when trying to access from VS Solution.I am attaching my code and
the error. the code is following
const string apiUrl = @"http://169.254.80.80/api/guest";
public MainViewModel()
this.Items = new ObservableCollection<ItemViewModel>();
/// <summary>
/// A collection for ItemViewModel objects.
/// </summary>
public ObservableCollection<ItemViewModel> Items { get; private set; }
private string _sampleProperty = "Sample Runtime Property Value";
/// <summary>
/// Sample ViewModel property; this property is used in the view to display its value using a Binding
/// </summary>
/// <returns></returns>
public string SampleProperty
get
return _sampleProperty;
set
if (value != _sampleProperty)
_sampleProperty = value;
NotifyPropertyChanged("SampleProperty");
/// <summary>
/// Sample property that returns a localized string
/// </summary>
public string LocalizedSampleProperty
get
return AppResources.SampleProperty;
public bool IsDataLoaded
get;
private set;
/// <summary>
/// Creates and adds a few ItemViewModel objects into the Items collection.
/// </summary>
public void LoadData()
if (this.IsDataLoaded == false)
this.Items.Clear();
this.Items.Add(new ItemViewModel() { ID = "0", LineOne = "Please Wait...", LineTwo = "Please wait while the catalog is downloaded from the server.", LineThree = null });
WebClient webClient = new WebClient();
webClient.Headers["Accept"] = "application/json";
webClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(webClient_DownloadCatalogCompleted);
webClient.DownloadStringAsync(new Uri(apiUrl));
private void webClient_DownloadCatalogCompleted(object sender, DownloadStringCompletedEventArgs e)
try
this.Items.Clear();
if (e.Result != null)
var books = JsonConvert.DeserializeObject<GuestDetail[]>(e.Result);
int id = 0;
foreach (GuestDetail book in books)
this.Items.Add(new ItemViewModel()
ID = (id++).ToString(),
LineOne = book.GuestName,
LineTwo = book.Nationality,
LineThree = book.Profession.Replace("\n", " ")
this.IsDataLoaded = true;
catch (Exception ex)
this.Items.Add(new ItemViewModel()
ID = "0",
LineOne = "An Error Occurred",
LineTwo = String.Format("The following exception occured: {0}", ex.Message),
LineThree = String.Format("Additional inner exception information: {0}", ex.InnerException.Message)
public event PropertyChangedEventHandler PropertyChanged;
private void NotifyPropertyChanged(String propertyName)
PropertyChangedEventHandler handler = PropertyChanged;
if (null != handler)
handler(this, new PropertyChangedEventArgs(propertyName));
the error is ...
{System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)}
Can anyone help me please, I am stuck with it.
Did you set up your router to forward the request to your computer? the ip you posted looks an ip your internet service provider gave you.
Fyi you can get 10 free azure websites -
How to clear input field value on back
Hi All,
I have developed an application, in which user put sales order on first page and press a button then its detail display on second page using restAPI. Now when I press back button on second page then it takes me to first page with holding previous sales order value in input field. And when I change its value and press that button again then it shows me previous sales order detail.
Please suggest me, how to refresh cache and input fields value on back button?
Thanks & Regards
ShubhanshuHi Viren,
My code is,
First view
sap.ui.jsview("uitest2.first", {
getControllerName : function() {
return "uitest2.first";
createContent : function(oController) {
var text = new sap.m.Label({
text: 'Dealer Code',
layoutData: new sap.m.FlexItemData({alignSelf: sap.m.FlexAlignSelf.Center })
var input = new sap.m.Input("CUSTOMER",{
type: sap.m.InputType.Text,
placeholder: 'Enter Dealer code...',
layoutData: new sap.m.FlexItemData({growFactor: 1, alignSelf: sap.m.FlexAlignSelf.Center})
var Dealer = new sap.m.HBox({
items:[ text,input
// new sap.m.Label({
// text: 'Dealer Code'
// new sap.m.Input("CUSTOMER",{
// type: sap.m.InputType.Text,
// placeholder: 'Enter Dealer code...'
height : "6em"
var button = new sap.m.Button({
text: "Submit",
press: function(oEvent) {
oController.loadData();
app = sap.ui.getCore().byId("myApp");
app.to("idsecond1");//, sap.ui.getCore().byId("CUSTOMER").getValue());
layoutData: new sap.m.FlexItemData({alignSelf: sap.m.FlexAlignSelf.Center})
return new sap.m.Page({
title: "Sales Dealer Info",
content: [ Dealer,button
First controller
sap.ui.controller("uitest2.first", {
loadData: function() {
var oParameters = ({
"CUSTOMER" : sap.ui.getCore().getElementById('CUSTOMER').getValue(),
console.log(oParameters);
var url = "http://###########:8000/sap/bc/zrst_customer?sap-client=800/";
var oModel = new sap.ui.model.json.JSONModel();
$.ajax({
url : url ,
dataType : "jsonp",
type : "POST",
data: oParameters,
success: function(data,textStatus,jqXHR) {
data = JSON.parse(data);
console.log(data);
oModel.setData(data);
sap.ui.getCore().setModel(oModel);
Second View
sap.ui.jsview("uitest2.second", {
getControllerName : function() {
return "uitest2.second";
createContent : function(oController) {
var oTable = new sap.m.Table("table",{
headerText: "Dealer data",
columns: [
new sap.m.Column({
header: new sap.m.Label({text: "NAME"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "CITY"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "COUNTRY"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "COUNTRYISO"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "STREET"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "PST_CODE"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "TELEPHONE"}),
demandPopin : true,
minScreenWidth : "Tablet",
new sap.m.Column({
header: new sap.m.Label({text: "EMAIL"}),
demandPopin : true,
minScreenWidth : "Tablet",
items: {
path: "/KEY",
template: new sap.m.ColumnListItem({
cells: [
new sap.m.Text({ //new sap.m.ObjectIdentifier
text: "{NAME}"
new sap.m.Text({
text: "{CITY}"
new sap.m.Text({
text: "{COUNTRY}"
new sap.m.Text({
text: "{COUNTRYISO}"
new sap.m.Text({
text: "{STREET}"
new sap.m.Text({
text: "{PST_CODE}"
new sap.m.Text({
text: "{TELPHONE}"
new sap.m.Text({
text: "{EMAIL}"
return new sap.m.Page({
title: "Dealer Info",
showNavButton: true,
navButtonTap:function(){
app = sap.ui.getCore().byId("myApp");
app.to("idfirst1");
sap.ui.getCore().getElementById('CUSTOMER').setValue("");
oModel.refresh();
content: [ oTable
Index.htm
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m,sap.ui.commons"
data-sap-ui-theme="sap_bluecrystal">
</script>
<!-- only load the mobile lib "sap.m" and the "sap_mvi" theme -->
<script>
sap.ui.localResources("uitest2");
var app = new sap.m.App("myApp",{initialPage:"idfirst1"});
var page = sap.ui.view({id:"idfirst1", viewName:"uitest2.first", type:sap.ui.core.mvc.ViewType.JS});
var page1 = sap.ui.view({id:"idsecond1", viewName:"uitest2.second", type:sap.ui.core.mvc.ViewType.JS});
app.addPage(page).addPage(page1);
app.placeAt("content");
</script>
</head>
<body class="sapUiBody" role="application">
<div id="content"></div>
</body>
</html>
Thanks
Shubhanshu -
Unable to install sql server express 2014 in windows 8.1 pro
The program terminates with:
"Unable to retrieve data for this operation"
the logs all end with:
Attempting to launch process C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014\setup.exe
the bootstrap log references exception:
"Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction" threw an exception during execution.
(01) 2015-04-02 08:45:15 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Failed to retrieve data for this request. ---> Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to retrieve data for this request. --->
Microsoft.SqlServer.Configuration.Sco.ScoException: Attempted to perform an unauthorized operation. ---> System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
(01) 2015-04-02 08:45:15 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
Can you help?Just in case, here is a log when running as administrator:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2146233088
Exit facility code: 19
Exit error code: 5376
Exit message: Failed to retrieve data for this request.
Start time: 2015-04-03 12:17:20
End time: 2015-04-03 12:17:37
Requested action: Install
Exception help link:
http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0x48BB60BC%400xBB814387&EvtType=0x48BB60BC%400xBB814387
Machine Properties:
Machine name: DGF-PAVILION
Machine processor count: 4
OS version: Windows 8
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
SPLevel: 0
Installation location: C:\0\SQLServer Developer\x64\setup\
Installation edition: Evaluation
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: false
AGTSVCACCOUNT: <empty>
AGTSVCPASSWORD: <empty>
AGTSVCSTARTUPTYPE: Manual
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: false
ENU: true
ERRORREPORTING: false
FEATURES:
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: <empty>
INSTANCENAME: <empty>
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE:
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: <empty>
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: <empty>
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: Normal
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150403_121719\ConfigurationFile.ini
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: The rule result report file is not available.
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
Message:
Failed to retrieve data for this request.
HResult : 0x80131500
Data:
HelpLink.ProdName = Microsoft SQL Server
HelpLink.BaseHelpUrl =
http://go.microsoft.com/fwlink
HelpLink.LinkId = 20476
HelpLink.EvtType =
0x48BB60BC@0xBB814387
DisableWatson = true
Stack:
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClasse.<ExecuteActionWithRetryHelper>b__b()
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
Inner exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
Message:
Attempted to perform an unauthorized operation.
HResult : 0x84bb0001
FacilityCode : 1211 (4bb)
ErrorCode : 1 (0001)
Data:
WatsonData =
HKEY_LOCAL_MACHINE@SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL12.TRAJECTORY2014\Setup
Stack:
at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
at Microsoft.SqlServer.Configuration.Sco.SqlRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetInstanceMapObject(String machineName, RegistryView registryView, String instanceId, String instanceName, String
instanceType, String instanceSuffix, UpgradedInstanceStateEnum instanceState)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetInstanceMapCollectionInHive(String machineName, RegistryView regView, List`1 subKeys)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetInstanceMapCollection()
at Microsoft.SqlServer.Discovery.Instance.GetData(EnumResult erParent)
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
Inner exception type: System.UnauthorizedAccessException
Message:
Attempted to perform an unauthorized operation.
HResult : 0x80070005
Stack:
at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) -
Unable to install SQL Server Express 2008 R2 - Errors "Failed to retrieve data for this request"
As domain admin I am attempting to install "SQL Server 2008 R2 with SP2" but it keeps failing with "Failed to retrieve data for this request".
The installation never actually starts, it errors before then.
It displays the same error even if I run the System Configuration Checker.
The summary.txt for the install displays the following text:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -1554760125
Exit facility code: 852
Exit error code: 15939
Exit message: Failed to retrieve data for this request.
Start time: 2014-08-15 16:49:52
End time: 2014-08-15 16:50:06
Requested action: RunRules
Machine Properties:
Machine name: servername
Machine processor count: 8
OS version: Windows Server 2008 R2
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: Yes
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
SPLevel: 1
Installation location: c:\84122ef5b6d9cdcd3b2ac48cec\x64\setup\
Installation edition: EXPRESS
User Input Settings:
ACTION: RunRules
CONFIGURATIONFILE:
ENU: True
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
FEATURES:
HELP: False
INDICATEPROGRESS: False
INSTANCENAME: <empty>
PASSPHRASE: *****
QUIET: False
QUIETSIMPLE: False
RULES: GLOBALRULES,SqlUnsupportedProductBlocker,PerfMonCounterNotCorruptedCheck,Bids2008InstalledCheck,BlockInstallSxS,AclPermissionsFacet,FacetDomainControllerCheck,SSMS_IsInternetConnected,FacetWOW64PlatformCheck,FacetPowerShellCheck
UIMODE: AutoAdvance
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140815_164944\ConfigurationFile.ini
Detailed results:
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: The rule result report file is not available.
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
Message:
Failed to retrieve data for this request.
Data:
HelpLink.ProdName = Microsoft SQL Server
HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
HelpLink.LinkId = 20476
DisableWatson = true
Stack:
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
Message:
The network path was not found.
Data:
WatsonData = [email protected]rror
Stack:
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.CreateBaseKey(ServiceContainer ctx, String machineName, IntPtr hKey, String keyName, RegistryAccess access, RegistryView
view)
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocalMachine(ServiceContainer ctx, String machineName, RegistryAccess access, RegistryView view)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
Message:
The network path was not found.
Data:
WatsonData = [email protected]rror
Above message says that your registry is not consistent and some of the parameters are missing from registry.Or
Account installing SQL server does not have permission to access this. I think case can be here that account with which you logged into your system to install SQL Server might not have certain privileges. Can you take help
of domain admin account add it as a local administrator in this machine always right click on setup file and select run as administrator. Before this make sure you remove all SQL Server components from add remove program
I strongly recommend you to have a good look at below thread
http://support.microsoft.com/kb/2000257/en-us
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles
Maybe you are looking for
-
How can I find the program which is calling my SAPscript??
How can I find the program(std/Custom) which is calling my SAPscript form?? Regards, Shashank.
-
I can load an Applet .class file with an OBJECT tag...
How can I load a .jar file? I foolishly believed I could replace "myclass.class" with "myjar.jar" in the <PARAM> tag associated with an <OBJECT> tag, and if I had created my manifest file correctly, the Main-Class in my .jar would have its init() met
-
hi, i am trying to eliminate 2 different amounts using IU elimination and i programmed in the FS items IU elimination template to post the differential amount to another FS item. However i am getting the following error where it shows the differentia
-
Object Lock Shortcut (Cmd 2) - Not working
I can use the Object Lock shortcut on my Mac at home but for some reason that I can't solve, it does not work on my office Mac. Are there any triggers or settings that I can toggle to allow me to use this extremely helpful shortcut??? Thanks
-
Execution of BRARCHIVE finished within return code 3
Yesterday i scheduled a backup shcedule through db13 t.code ( whole databse online + redo log backup ). When i have seen the return code in detail log it says " 0001 sucess with warnings ". in detail log also i have seen BR0053I : BRBACKUP completed