Run Time Error 1004 - Reference isn't valid - runtime-error

I am getting the highlighted error shown in the photo on this piece of coding. It worked absolutely fine last month and the error has appeared when i've rolled the file over for a new month.
Any idea how I can get around this?
Many thanks!

Related

R workspace wiped

I have spent the last few months on an important research project. I checked in on it again today after not touching it for about 2 weeks. The workspace is how it was around 3 months ago, and it does not have any of my most important data frames, tables, etc. The history, if I search for a command I used to assign the data (e.g. df="blah"), it is still there. How can I recover my workspace? It didn't have any error messages. My computer died a few times, but I don't know if that would impact it as I had it saved more recently than 3 months ago.
If I can't recover the workspace, how can I view the full history? I have tried saving the history as a .txt file, but it only shows the history from 3 months ago. The window also only shows this shortened history. However, again, if I actually search the window, it shows commands more recent than that. I don't know how to fix this.
Any help is greatly appreciated.

Cacti - Poller stopped after data source template changed - Old but gold

I'm new here and this is my first post :)
I will try to explain, sorry ahead about my grammar
We moved to GPDR few months ago, and my job is to fix all the graph which Stopped working, we notice it was due to a change in data-source, in this case it was the volume of the disks
Ex: xvdg - xvdf (AWS)
What I've done:
Duplicated each old data source template. to a new one with a new name and volume
Then i changed the old graph with the new data source template
The weird thing that happened, this worked on only 1 graph, and all the other graphs I've change, stopped, didn't show data,
Checking the Cacti logs
I notice these graph pollers are gone...
5 pollers are not showing anymore in the logs
I've tried:
Deleting the rrd, so it will recreate itself - it did but no poller
Re cached the poller index - didnt do any change
Messing with RDDTOOL
Then i notice that if i create a new graph with the new data sources it will work
But i got 6x20 of these to do, i need a creative better way to do this
Please help
Thanks

Importing a Milestone to Microsoft project is showing %complete as 99

I have a xml which, which has been created through net.sf.mpxj. in xml i have a milestone and a Task which are closed complete. when i import this xml to Microsoft project 2016, MileStone %Complete is changed back to 99%.
For task i dont see any issue. its showing 100%
Few Observations:
Actual Finish is showing N/A( from XML i am sending actual end date, not sure why its becoming N/A)
% Work Complete is showing 0
Has anyone faced this issue before, if so could you please help me!.
Thanks in advance.
I had a quick look at this using your sample XML file. I tried various combinations of date, work, and duration attributes to get Project to report the percent complete correctly, but the only thing which worked for me was to supply an explicit percent complete value for the task. The only thing I can think is that Project is trying to calculate the percent complete value, but has a rounding error which means you never quite get to 100%.

Drupal 6: Heartbeat module is "missing" some content

I’m using the heartbeat module on my site to make an activity-stream and recently I discovered that it doesn’t display all the new comments.
I’ve displayed group messaging ‘cause I only want to display #username commented on #node_title and nothing more. But for some reason, when there is several comments submitted within a short range of time it either only displays one of the comments or nothing or it makes an entry in the activity-stream which is just blank.
Before I was using the built-in comment-template in Heartbeat but now I’ve tried to create my own instead. It works when I post a comment but when testing it and makes two comments within e.g. 30 seconds it still makes the error.
Are there any known problems with this issue or am I missing something?? I haven’t detected the problem with adding new nodes, which also can occur within a short period of time on my time.
Thanks
Sincere
- Mestika
If you are having display failures in Views, there is a patch someone worked out in February 2012 for Views 6.x-3.x - you might want to try that. It fixes the display for a bunch of fields. See http://drupal.org/node/1295570

Changing the date on my web server stops my ASP.NET app from working

I'm trying to write some code that checks the number of days between two dates, when I set the date on my IIS7 server to anytime in the future I get the standard "Internet Explorer cannot display the webpage" screen. This happens if I comment out all my date checking code, with todays date it loads with any future date it doesn't. I've tried rerunning IISReset which makes no difference.
Anyone seen this before?
Thanks
Jamie
You've proven that you can retreive the current system date from the server.
IMO, now you can go ahead and fudge the numbers by reading test dates from a file (override.txt, or whatever) and test your date calculation scenarios without having to mess with the server.
You will want to make sure that you have a common function for getting the system date, so that you can override in one spot. So if you're not already set to do that, re-tool the code a bit, re-test to ensure that you get the system date properly. Then drop in your override file and test away.

Resources