Hello,
I'm trying to work with the Excel Services from Sharepoint in my web application, and I've been looking at several blogs and demo's on how this should be done.
The initial step is to create a service reference to http:://<yourdomain>/<site>/_vti_bin_/ExcelService.as mx
I've done this, and Vsual Studio finds a reference, called the ExcelServiceSoa p. But all demo's talk about the ExcelService......
User Profile
Collapse
-
Can't find ExcelService from SharePoint
-
How to access SharePoint at runtime?
Hello,
I'm currently investigating SharePoint for our company as a means to make Excel processing accessible through our web application without relying on the Office Interop DLL files. (our sysadmin doesnt want to install Office on the production server, for good reason)
I'm aware that Sharepoint has an Excel Webservice that can be enabled and used by the application. The problem, if it is a problem, is that I need... -
Invalid HttpRequest.PhysicalPath
Hello,
I'm currently struggling with various settings in ASP.NET and our rewrite module. We've introduced our own caching, and are currently experiencing issues with the IIS server not beeing able to retrieve content.
For example, i'm requesting the following URL:
http://localhost/arne/static/2.91.743.0/App_Themes/silverstuddedbl ue/styles/01_reset.css
We have introduced the 2.91.743.0 as a Caching... -
Testing an ActionFilter for an MVC Controller
Hello,
this is my second article that I'm writing for bytes.com, and this time I wish to share some knowledge on how to test a custom ActionFilterAtt ribute for a controller in the ASP.NET MVC 2 Framework.
I've been working with the Framework for a month now, comming from a Ruby on Rails background, and developed a special ActionFilter that performs authentication of users against our database using customized HTTP headers.... -
How to fix element access_key is invalid error when validating XML?
Hello,
i've written the following XML Schema to validate my custom XML:
Code:<?xml version="1.0" encoding="utf-8"?> <xs:schema id="item" targetNamespace="http://www.tenforce.com/rest/item" xmlns="http://www.tenforce.com/schema/item.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ts="http://www.tenforce.com/rest/timestamp"
-
cheers for the replies, will definitly check em out when I have a bit more time.
To get the start time, it's always the hour at which the "question" is asked. So basicly yes, just trunc the current hour. -
Because, let's say the interval is 10 minutes.
From the assignment, that would mean each interval is at the following points:
10.00
10.10
10.20
10.30
10.40
10.50
11.00
Assuming we take the logic you provided, and the current time is 10.45, I would end up on 10.55, missing the first point and missing all subsequent points in time.Leave a comment:
-
We found the issue eventually.
Bad NAT rules on the router connecting to the outside network. We could see the destination, but the destination could not see us.
Once the SysOps changed the NAT rules, everything worked like a charm.Leave a comment:
-
Calculating offsets
Hello,
I'm currently stuggling with an algorithm for determing the delay between timer calls. Allow me to describe the problem first:
A user is able to setup a batch command that will either run at a specified interval or only once at the specific point in time. Due the required flexibility, the user should only be required to set the interval. If for example the user sets an interval of 10 minutes (600sec), the command... -
After some feedback from the sysadmin, a VPN is created between our network and the remote network.
I'm able to ping the remote location from my system, but on the remote system, I cannot ping my computer. I can establish a remote desktop connection however.
Is this an issue in .NET? Normal applications work fine, but when I try to create a .NET Socket connection between the two, I cannot establish it.
The Client reports...Leave a comment:
-
Anyone else experience quirks with Berkeley Socket API?
Hello,
not really sure if this will lead to something, but I just want to have a small discussion about the Berkley Sockets API.
Recently i've been working on TCP Client/Server architectures, and while these lovely Sockets do the things they're supposed to do, I often find myself struggling with the API or inner workings of the Sockets.
An example is when I establish a connection on a local port to a remote port.... -
TCP Connection Timeout
Hello,
I've written my own TCPClient and TCPServer class components to handle traffic over the network between applications.
When I test the components locally they work. In the local network between different machines they also work.
When I try to connect to a remote location that's added to our network with Tunnels, I'm receiving a Timeout on the connect, but a ping to the IP from commandline works fine without... -
Your server code looks fine to me. You've followed the correct calling:
- Create the socket
- Bind the socket to a local endpoint, in your case any IP & Port
- Receive the data from any source.
I think the problem lies in your client. From the code I see there, I can't find the init for your socket. Perhaps something is wrong there.Leave a comment:
-
I sorted it myself, one of the possible logic loops resulted in no Thread.Sleep beeing called, thus keeping the thread hogging all the CPU.
The part with binary_size, is that I read out 4 bytes from the TCP message to determine how many data is still behind. But since I do not know if they're already received I had to do it this way.
The new loop is 3 times shorter and has no CPU load anymore.Leave a comment:
-
Can you show me the code please where you call the receiveFrom method?
I'm guessing you supplied an endpoint that's not holding the correct information. When you supply an endpoint in the ReceiveFrom method, only packets from that endpoint are handled.
Since the function is a blocking call, you could end up blocking indefinitly if you specify the wrong endpoint.Leave a comment:
-
100% CPU in multithreading applications
Still struggling with my client & server applications (see previous posts), but right now I've managed to gain a stead 10FPS when transfering images from the server to the client. So i'm making progress.
The problem I'm currently experiencing, is that after a few seconds both my client and server application start claiming 100% of the CPU. I've placed Thread.Sleep() functions in the loops to make sure they're don't claim everything,... -
TCPSocket not transmitting
Hello,
I currently have my client-server application and in most cases this seems to be working fine.
But there's a few occasions where I establish the connection, both sides report they're connected, but when I send data to the server from the client, it never arrives.
Yet I have constant socket polling on but I'm not receiving information...A nyone have a suggestion as to where I can look for the cause? -
Yup,
I have written a class called MemoryBuffer that wraps an IList<byte> object and protects it with a lock for exclusive access through every public method.Leave a comment:
-
I finally got around to implementing a nice system around my socket.
Currently it works like this:
- TCP Berkley socket listens for incoming data.
- When data arrives, the socket reads it and write it at the back of a memory buffer.
- A parser uses a background thread to loop over the buffer from the start and analyses the data, seeking the start & end of a message according my protocol
- If the parser...Leave a comment:
-
I might be wrong here, but IQueryable is an interface, thus you can never create an instance of it.
You can try making your own instances that inherit from IQueryable and see if you can cast the received object to this Interface type, or treat it as such. If the cast fails (null) then the object cannot be used as that interface. If the cast does succeed then you can unleash all functions defined by IQueryable and your inherited inte...Leave a comment:
No activity results to display
Show More
Leave a comment: